diff --git a/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb b/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb index d88dd48..8e7ba47 100644 --- a/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb +++ b/plugins/virtuoso/views/virtuoso_plugin_admin/_server_list_item.html.erb @@ -1,19 +1,18 @@
- <% - + <% + value = server_list_item[:dspace_uri] if server_list_item %> <%= text_field_tag 'settings[dspace_servers][][dspace_uri]', value, { :class => 'link-name', :maxlength => 60, :size=> 58 } %> <%= button_without_text(:delete, _('Delete'), "#" , :class=>"delete-server-list-row") %> - + <% last_execution = server_list_item["last_harvest"] if server_list_item - if last_execution + if last_execution %>
<%= _('Last execution:') %> - <%= time_ago_as_sentence last_execution %> + <%= time_ago_in_words last_execution %>
<% end %>

- -- libgit2 0.21.2