fix #1256 by changing the layout of the context view to match the project view

This commit is contained in:
Reinier Balt 2012-03-21 18:09:20 +01:00
parent f9232a7e9d
commit dea8734498
9 changed files with 57 additions and 63 deletions

View file

@ -3,9 +3,11 @@
<span id="<%= state %>-contexts-count" class="badge"><%= context_state_group.length %></span>
<%= t("states."+ state +"_plural")%> <%= t('common.contexts') %>
</h2>
<div id="<%= state%>-contexts-empty-nd" style="<%= no_contexts ? 'display:block' : 'display:none'%>">
<div class="message"><p><%= t('contexts.no_contexts_' + state) %></p></div>
</div>
<div id="list-contexts-<%= state %>">
<%= render :partial => 'context_listing', :collection => context_state_group %>
</div>