Fixed wrong structure in watchers template
parent
a2cc055f08
commit
9ab62bdde7
|
@ -217,6 +217,7 @@ WatchersDirective = ($rootscope, $confirm) ->
|
|||
<a href="" title="Add watcher" class="icon icon-plus add-watcher">
|
||||
</a>
|
||||
<% } %>
|
||||
</div>
|
||||
<% _.each(watchers, function(watcher) { %>
|
||||
<div class="watcher-single">
|
||||
<div class="watcher-avatar">
|
||||
|
@ -229,13 +230,12 @@ WatchersDirective = ($rootscope, $confirm) ->
|
|||
<%= watcher.full_name_display %>
|
||||
</a>
|
||||
<% if (editable) { %>
|
||||
<a class="icon icon-delete" data-watcher-id="<%= watcher.id %>" href="" title="delete-watcher">
|
||||
<a class="icon icon-delete" data-watcher-id="<%= watcher.id %>" href="" title="delete-watcher"></a>
|
||||
<% } %>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<% }); %>
|
||||
</div>""")
|
||||
""")
|
||||
|
||||
link = ($scope, $el, $attrs, $model) ->
|
||||
editable = $attrs.editable?
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
right: 1rem;
|
||||
top: 4px;
|
||||
}
|
||||
&.no-watchers {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
.watcher-single {
|
||||
@include table-flex(center, center, flex, row, wrap, center);
|
||||
|
|
Loading…
Reference in New Issue