Permalink
Browse files

Fixes

  • Loading branch information...
1 parent 34a41e4 commit 11a05e9911f3113c247be101db31f508a563de9f @akzhan akzhan committed Nov 10, 2011
Showing with 6 additions and 5 deletions.
  1. +1 −1 i18n/ru.yml
  2. +5 −4 views/log.haml
View
@@ -64,7 +64,7 @@ ru:
log:
title: "Последние %{count} строк журнала(-ов) сервиса %{name}"
header: "Последние %{count} строк журнала(-ов) сервиса <strong>%{name}</strong>: %{host}"
- subheader: "(<code>%{log_location}</code>)"
+ subheader: "<code>%{log_location}</code>"
counts: "Показать %{count} строк лога"
updated: "Страница обновлена %{time}"
reload: Обновить страницу
View
@@ -1,13 +1,14 @@
- content_for :content do
- = t('runit.services.log.header', :name => h(name), :host => h(host_name), :count => h(count), :log_location => h(log_location))
- %p
- = t('runit.services.log.counts', :count => [100, 250, 500, 1000, 5000].map { |n| log_link(name, :count => n, :title => n) }.join(' '))
- = log_downloads_link(name)
+ = t('runit.services.log.header', :name => h(name), :host => h(host_name), :count => h(count))
+ %p
+ = t('runit.services.log.counts', :count => [100, 250, 500, 1000, 5000].map { |n| log_link(name, :count => n, :title => n) }.join(' '))
+ = log_downloads_link(name)
- logs.each do |log|
= t('runit.services.log.subheader', :log_location => h(log[:location]))
&nbsp;|&nbsp;
= log_link(name, :count => count, :title => t('runit.services.log.raw'), :log => log, :raw => true)
%pre= h(log[:text])
+
- content_for :footer do
%p
= t('runit.services.log.updated', :time => I18n.l(Time.now.utc))

0 comments on commit 11a05e9

Please sign in to comment.