Commit f1ad087cab0cf1bc86bcea17148eb83bc15abd94
1 parent
061cb6cb
Exists in
staging
and in
4 other branches
changed time_ago_as_sentence to time_ago_in_words
Showing
1 changed file
with
5 additions
and
6 deletions
Show diff stats
plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb
1 | 1 | <div> |
2 | - <% | |
3 | - | |
2 | + <% | |
3 | + | |
4 | 4 | value = server_list_item[:dspace_uri] if server_list_item %> |
5 | 5 | <%= text_field_tag 'settings[dspace_servers][][dspace_uri]', value, { :class => 'link-name', :maxlength => 60, :size=> 58 } %> |
6 | 6 | <%= button_without_text(:delete, _('Delete'), "#" , :class=>"delete-server-list-row") %> |
7 | - | |
7 | + | |
8 | 8 | <% |
9 | 9 | last_execution = server_list_item["last_harvest"] if server_list_item |
10 | - if last_execution | |
10 | + if last_execution | |
11 | 11 | %> |
12 | 12 | <div class="date" style="display: inline-block;"> |
13 | 13 | <span class="label"><strong><%= _('Last execution:') %></strong></span> |
14 | - <span class="value"><%= time_ago_as_sentence last_execution %></span> | |
14 | + <span class="value"><%= time_ago_in_words last_execution %></span> | |
15 | 15 | </div> |
16 | 16 | <% end %> |
17 | 17 | <BR><BR> |
18 | 18 | </div> |
19 | - | ... | ... |