Commit 0c116baa4dfb158ea813848913741c72c9afe0b2
1 parent
ec8b416d
Exists in
master
and in
29 other branches
Uses a more explicative message for updated article on search
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/search/_article_last_change.html.erb
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | 2 | ||
3 | <div class="search-article-author-changes"> | 3 | <div class="search-article-author-changes"> |
4 | <% if article.last_changed_by and article.last_changed_by != article.profile %> | 4 | <% if article.last_changed_by and article.last_changed_by != article.profile %> |
5 | - <span><%= _('by %{name} at %{date}') % {:name => link_to(article.last_changed_by.name, article.last_changed_by.url), | 5 | + <span><%= _('Updated by %{name} at %{date}') % {:name => link_to(article.last_changed_by.name, article.last_changed_by.url), |
6 | :date => show_date(article.updated_at) } %></span> | 6 | :date => show_date(article.updated_at) } %></span> |
7 | <% else %> | 7 | <% else %> |
8 | <span><%= _('Last update: %s.') % show_date(article.updated_at) %></span> | 8 | <span><%= _('Last update: %s.') % show_date(article.updated_at) %></span> |
-
mentioned in commit 0970f9a1cb0c315c6434b5946dd95b8d4e792e4b