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