@date_format_setting == 0 ? l_datetime(time) : (time.strftime("%Y-%m-%d") + ' ' + l_time(time))
end
+ def authoring(created, author)
+ l(:label_added_time_by, author.name, distance_of_time_in_words(Time.now, created))
+ end
+
def day_name(day)
l(:general_day_names).split(',')[day-1]
end
</div>
<%= link_to attachment.filename, :action => 'download', :id => @document, :attachment_id => attachment %>
(<%= number_to_human_size attachment.filesize %>)<br />
- <em><%= attachment.author.name %>, <%= format_date(attachment.created_on) %></em><br />
+ <span class="author"><%= authoring attachment.created_on, attachment.author %></span><br />
<%= lwr(:label_download, attachment.downloads) %>
</li>
<% end %>
<h2><%= @issue.tracker.name %> #<%= @issue.id %>: <%=h @issue.subject %></h2>
<p class="author">
- <%= l(:label_added_time_by, distance_of_time_in_words(Time.now, @issue.created_on), link_to_user(@issue.author)) %>.
+ <%= authoring @issue.created_on, @issue.author %>.
<%= l(:label_updated_time, distance_of_time_in_words(Time.now, @issue.updated_on)) if @issue.created_on != @issue.updated_on %>.
</p>
<div class="box">
<p><%= link_to(h(news.project.name), :controller => 'projects', :action => 'show', :id => news.project) + ': ' unless @project %>
<%= link_to h(news.title), :controller => 'news', :action => 'show', :id => news %><br />
<% unless news.summary.blank? %><%=h news.summary %><br /><% end %>
-<em><%= news.author.name %>, <%= format_time(news.created_on) %></em><br />
-<%= news.comments_count %> <%= lwr(:label_comment, news.comments_count).downcase %><br /></p>
+<span class="author"><%= authoring news.created_on, news.author %>
+<%= "<br />#{news.comments_count} #{lwr(:label_comment, news.comments_count).downcase}" if news.comments_count > 0 %></span></p>
<h2><%=h @news.title %></h2>
<p><em><% unless @news.summary.empty? %><%=h @news.summary %><br /><% end %>
-<%= @news.author.name %>, <%= format_time(@news.created_on) %></em></p>
+<span class="author"><%= authoring @news.created_on, @news.author %></span></em></p>
<%= textilizable(@news.description) %>
<br />
field_delay: Delay
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: Заглавие
setting_app_subtitle: Описание
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: Вход
button_submit: Изпращане
field_delay: Delay
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: Applikation Titel
setting_app_subtitle: Applikation Untertitel
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: Einloggen
button_submit: OK
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
-label_added_time_by: Added %s ago by %s
+label_added_time_by: Added by %s %s ago
label_updated_time: Updated %s ago
button_login: Login
field_delay: Delay
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: Título del aplicación
setting_app_subtitle: Subtítulo del aplicación
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: Conexión
button_submit: Someter
label_send_test_email: Envoyer un email de test
label_feeds_access_key_created_on: Clé d'accès RSS créée il y a %s
label_module_plural: Modules
-label_added_time_by: Ajouté il y a %s par %s
+label_added_time_by: Ajouté par %s il y a %s
label_updated_time: Mis à jour il y a %s
button_login: Connexion
field_delay: Delay
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: Titolo applicazione
setting_app_subtitle: Sottotitolo applicazione
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: Login
button_submit: Invia
field_delay: 遅延
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: アプリケーションのタイトル
setting_app_subtitle: アプリケーションのサブタイトル
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: ログイン
button_submit: 変更
field_delay: Vertraging
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: Applicatie titel
setting_app_subtitle: Applicatie ondertitel
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: Inloggen
button_submit: Toevoegen
field_delay: Delay\r
field_assignable: Issues can be assigned to this role\r
field_redirect_existing_links: Redirect existing links\r
+field_estimated_hours: Estimated time\r
\r
setting_app_title: Titulo da aplicacao\r
setting_app_subtitle: Sub-titulo da aplicacao\r
label_send_test_email: Send a test email\r
label_feeds_access_key_created_on: RSS access key created %s ago\r
label_module_plural: Modules\r
+label_added_time_by: Added by %s %s ago\r
+label_updated_time: Updated %s ago\r
\r
button_login: Login\r
button_submit: Enviar\r
field_delay: Atraso
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: Título da aplicação
setting_app_subtitle: Sub-título da aplicação
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: Login
button_submit: Enviar
field_delay: Delay
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: Applikationstitel
setting_app_subtitle: Applicationsunderrubrik
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: Logga in
button_submit: Skicka
field_delay: Delay
field_assignable: Issues can be assigned to this role
field_redirect_existing_links: Redirect existing links
+field_estimated_hours: Estimated time
setting_app_title: 应用程序标题
setting_app_subtitle: 应用程序子标题
label_send_test_email: Send a test email
label_feeds_access_key_created_on: RSS access key created %s ago
label_module_plural: Modules
+label_added_time_by: Added by %s %s ago
+label_updated_time: Updated %s ago
button_login: 登录
button_submit: 提交