app/views/backend/articles/index.html.erb in udongo-6.0.0 vs app/views/backend/articles/index.html.erb in udongo-6.1.0
- old
+ new
@@ -8,14 +8,14 @@
<table class="table table-striped table-hover">
<thead class="thead-inverse">
<tr>
<th><%= t 'b.title' %></th>
<th><%= t 'b.author' %></th>
- <th><%= t 'b.published_at' %></th>
- <th><%= t 'b.visible' %></th>
- <th><%= t 'b.press_release' %></th>
- <th> </th>
+ <th width="200"><%= t 'b.published_at' %></th>
+ <th><span data-toggle="tooltip" title="<%= t 'b.visible' %>" class="abbreviated-tooltip"><%= t 'b.msg.articles.visible_abbreviated' %></span></th>
+ <th><span data-toggle="tooltip" title="<%= t 'b.press_release' %>" class="abbreviated-tooltip"><%= t 'b.msg.articles.press_release_abbreviated' %></span></th>
+ <th width="60"> </th>
</tr>
</thead>
<tbody>
<% @articles.each do |a| %>
@@ -25,20 +25,20 @@
<%= link_to edit_translation_backend_article_path(a, default_app_locale) do %>
<%= icon(:exclamation_triangle) %>
<%= t('b.msg.no_title_set') %>
<% end %>
<% else %>
- <%= truncate a.title, length: 40 %>
+ <%= truncate a.title, length: 70 %>
<% end %>
</td>
<td>
<% if a.user.present? %>
- <%= link_to icon(:user, a.user.full_name), edit_backend_user_path(a.user) %>
+ <%= link_to icon(:user, a.user.short_name), edit_backend_user_path(a.user) %>
<% else %>
<%= t 'b.not_set' %>
<% end %>
</td>
- <td><%= l a.published_at if a.published_at %></td>
+ <td class="text-right"><%= l(a.published_at, format: :short) if a.published_at %></td>
<td><%= t a.visible?.to_s %></td>
<td><%= t a.press_release?.to_s %></td>
<td class="text-right">
<%= link_to_edit_translation [:backend, a] %>
<%= link_to_delete [:backend, a] %>