change sub_menu to header in site setting

This commit is contained in:
Rueshyna 2013-01-03 14:46:02 +08:00
parent 80f545966e
commit cb3a9ea98b
3 changed files with 106 additions and 104 deletions

View File

@ -64,6 +64,14 @@
<p class="help-block"><%= (t 'site.description_help').html_safe %></p>
</div>
</div>
<div class="control-group">
<label class="control-label"><%= t 'site.header' %></label>
<div class="controls">
<%= f.fields_for :sub_menu_translations do |f| %>
<%= f.text_area locale, :class => "tinymce_textarea input-xxlarge", :value => (@site.sub_menu_translations[locale] rescue nil) %>
<% end %>
</div>
</div>
<div class="control-group">
<label class="control-label"><%= t 'site.footer' %></label>
<div class="controls">
@ -73,14 +81,6 @@
<p class="help-block"><%= (t 'site.footer_help').html_safe %></p>
</div>
</div>
<div class="control-group">
<label class="control-label"><%= t 'site.sub_menu' %></label>
<div class="controls">
<%= f.fields_for :sub_menu_translations do |f| %>
<%= f.text_area locale, :class => "tinymce_textarea input-xxlarge", :value => (@site.sub_menu_translations[locale] rescue nil) %>
<% end %>
</div>
</div>
<div class="control-group">
<label class="control-label"><%= t 'site.default_image' %></label>
<div class="controls">

View File

@ -327,6 +327,7 @@ en:
description: Site description
description_help: ''
footer: Site footer
header: Site header
footer_help: ''
info: Site information
keywords: Site keywords

View File

@ -327,6 +327,7 @@ zh_tw:
description: 網站描述
description_help: ''
footer: 網站頁尾
header: 網站頁首
footer_help: ''
info: 網站資訊
keywords: 搜尋關鍵字