Translation changes

This commit is contained in:
chris committed 2012-12-03 23:00:04 +08:00
1 parent 9c6c622a49
commit dc3be3c9a1
128 files changed
+295 -1114

No files matched your search

@@ -3,7 +3,7 @@
<div class="modal hide fade in banner-preview" id="bulletin-<%=bulletin.id%>">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><%= t("modal.preview") %></h3>
<h3><%= t(:preview) %></h3>
</div>
<div class="modal-body">
<p class="bulletin_slideshow">
@@ -19,7 +19,7 @@
<div class="modal-footer">
<%= form_for bulletin, :url => panel_announcement_back_end_bulletin_approve_path(bulletin),:method => :post, :html => {:class => 'clear'} do |f| %>
<%= f.label :approval_stat, t('approval_stat') %>
<%= f.label :approval_stat, t('approval.stat') %>
<%= content_tag :label,:class => "radio inline" do -%>
<%= f.radio_button :is_checked, true , {:class => 'privacy'} %>
<%= t('approval.pass') %>
@@ -34,7 +34,7 @@
<%= f.submit t(:submit_approval),:class=>"btn"%>
<% end %>
<a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a>
<a href="#" class="btn" data-dismiss="modal"><%= t(:close) %></a>
</div>
<div>
<script type="text/javascript" src="/static/kernel.js"></script>
@@ -22,7 +22,7 @@
<divl>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a>
<a href="#" class="btn" data-dismiss="modal"><%= t(:close) %></a>
</div>
<div>
<script type="text/javascript" src="/static/kernel.js"></script>
@@ -22,7 +22,7 @@
<divl>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a>
<a href="#" class="btn" data-dismiss="modal"><%= t(:close) %></a>
</div>
<div>
<script type="text/javascript" src="/static/kernel.js"></script>
@@ -18,11 +18,4 @@
<% end %>
<% end %>
</div>
<div id="widget-title">
<%= f.label :display %>
<%= f.radio_button :display, "List" %>List
<%= f.radio_button :display, "Picture" %>Picture
<br />顯示方式是設定在前台頁面時,資訊所呈現的樣式
</div>
</div>
@@ -50,7 +50,7 @@
<% end -%>
<% if show_delete_link(bulletin) %>
<li class="dropdown"><%= link_to t(:delete), panel_announcement_back_end_bulletin_path(bulletin), :confirm => t(:sure?), :method => :delete, :remote => true %></li>
<li class="dropdown"><%= link_to t(:delete_), panel_announcement_back_end_bulletin_path(bulletin), :confirm => t(:sure?), :method => :delete, :remote => true %></li>
<% end %>
<% if show_approval_link(bulletin) %>
<li><%= link_to t(:approval_), panel_announcement_back_end_bulletin_approval_preview_path(bulletin),:class => 'preview_trigger' %></li><%#= #TODO add ancher so user can quick access into that part %>
@@ -4,7 +4,7 @@
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><%= (@bulletin_file.new_record? ? 'Add File' : 'Edit File') %></h3>
<h3><%= (@bulletin_file.new_record? ? t(:add) : t(:edit)) %></h3>
</div>
<div class="modal-body form-horizontal">
<div class="control-group">
@@ -16,7 +16,7 @@
<%= f.fields_for :title_translations do |f| %>
<% @site_valid_locales.each do |locale| %>
<div class="control-group">
<label for="file-<%= locale %>" class="control-label">Name <%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></label>
<label for="file-<%= locale %>" class="control-label"><%= t(:name) %> <%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></label>
<div class="controls">
<%= f.text_field locale, :id => "file-#{locale}", :class => "input-xlarge", :value => (@bulletin_file.title_translations[locale] rescue nil) %>
</div>
@@ -27,7 +27,7 @@
<%= f.fields_for :description_translations do |f| %>
<% @site_valid_locales.each do |locale| %>
<div class="control-group">
<label for="file-<%= locale %>" class="control-label">Description <%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></label>
<label for="file-<%= locale %>" class="control-label"><%= t(:description) %> <%= I18nVariable.first(:conditions => {:key => locale})[I18n.locale] %></label>
<div class="controls">
<%= f.text_field locale, :id => "file-#{locale}", :class => "input-xlarge", :value => (@bulletin_file.description_translations[locale] rescue nil) %>
</div>
@@ -4,11 +4,11 @@
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><%= (@bulletin_link.new_record? ? 'Add Link' : 'Edit Link') %></h3>
<h3><%= (@bulletin_link.new_record? ? t(:add) : t(:edit)) %></h3>
</div>
<div class="modal-body form-horizontal">
<div class="control-group">
<label for="http" class="control-label">URL</label>
<label for="http" class="control-label"><%= t(:url) %></label>
<div class="controls">
<%= f.text_field :url %>
</div>
@@ -17,7 +17,7 @@
<%= f.fields_for :title_translations do |f| %>
<% @site_valid_locales.each do |locale| %>
<div class="control-group">
<%= label_tag "link-#{locale}", "Name-#{I18nVariable.from_locale(locale)}", :class => 'control-label' %>
<%= label_tag "link-#{locale}", "#{t(:name)}-#{I18nVariable.from_locale(locale)}", :class => 'control-label' %>
<div class="controls">
<%#= f.text_field locale, :class => 'input-xxlarge' %>
<%= f.text_field locale, :class => 'control-label', :value => (@bulletin_link.title_translations[locale] rescue nil) %>
@@ -18,13 +18,13 @@
<span class="action">
<% if bulletin_file.new_record? %>
<a href="#" class="delete"><%= t(:delete) %></a>
<a href="#" class="delete"><%= t(:delete_) %></a>
<% else %>
<%= f.hidden_field :id %>
<% if bulletin_file.is_built_in? %>
<a href="#" class="switch" id="<%= bulletin_file.id %>"></a>
<% else %>
<a href="#" class="remove_existing_record"><%= t(:delete) %></a>
<a href="#" class="remove_existing_record"><%= t(:delete_) %></a>
<%= f.hidden_field :_destroy, :value => nil, :class => 'should_destroy' %>
<% end %>
<% end %>
@@ -32,7 +32,7 @@
<br> -->
<% if @bulletin.image.file %>
<%= f.check_box :remove_image %>
<%= t(:delete_file) %>
<%= t('delete.file') %>
<% end %>
</div>
</div>
@@ -43,7 +43,7 @@
<div class="widget-action clear">
<a href="#" class="action"><i title="Set the announcement to start and end dates" class="icon-exclamation-sign icon-white tip"></i></a>
</div>
<h3 class="widget-title"><i class="icons-calendar"></i><%= t('nccu.date') %></h3>
<h3 class="widget-title"><i class="icons-calendar"></i><%= t(:date) %></h3>
<div class="widget-content clear">
<div class="control-group">
<label class="control-label"><%= t(:start) %></label>
@@ -3,7 +3,7 @@
<div class="modal hide fade in banner-preview" id="bulletin-<%=bulletin.id%>" style="width:1024px;height:500px;margin-left:-512px">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><%= t("modal.preview") %></h3>
<h3><%= t(:preview) %></h3>
</div>
<div class="modal-body">
<p class="bulletin_slideshow">
@@ -20,7 +20,7 @@
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a>
<a href="#" class="btn" data-dismiss="modal"><%= t(:close) %></a>
</div>
<div>
<script type="text/javascript" src="/static/kernel.js"></script>
@@ -16,7 +16,7 @@
<br>
<% if bulletin.image.file %>
<%= f.check_box :remove_image %>
<%= t(:delete_file) %>
<%= t('delete.file') %>
<% end %>
</div>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -3,7 +3,7 @@
<div class="modal hide fade in banner-preview" id="page_context-<%=page_context.id%>" style="width:1024px;height:500px;margin-left:-512px">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><%= t("modal.preview") %></h3>
<h3><%= t(:preview) %></h3>
</div>
<div class="modal-body">
<p class="page_context_slideshow">
@@ -20,7 +20,7 @@
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal"><%= t("modal.close") %></a>
<a href="#" class="btn" data-dismiss="modal"><%= t(:close) %></a>
</div>
<div>
<script type="text/javascript" src="/static/kernel.js"></script>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_book.writing_book_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_book_back_end_writing_book_path(writing_book) %></li>
<li><%= link_to t('delete'), panel_personal_book_back_end_writing_book_path(writing_book), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_book_back_end_writing_book_path(writing_book), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_book.writing_book_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_book_plugin_writing_book_path(writing_book) %></li>
<li><%= link_to t('delete'), panel_personal_book_plugin_writing_book_path(writing_book), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_book_plugin_writing_book_path(writing_book), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || diploma.diploma_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_diploma_back_end_diploma_path(diploma) %></li>
<li><%= link_to t('delete'), panel_personal_diploma_back_end_diploma_path(diploma), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_diploma_back_end_diploma_path(diploma), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || diploma.diploma_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_diploma_plugin_diploma_path(diploma) %></li>
<li><%= link_to t('delete'), panel_personal_diploma_plugin_diploma_path(diploma), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_diploma_plugin_diploma_path(diploma), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || experience.experience_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_experience_back_end_experience_path(experience) %></li>
<li><%= link_to t('delete'), panel_personal_experience_back_end_experience_path(experience), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_experience_back_end_experience_path(experience), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || experience.experience_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_experience_plugin_experience_path(experience) %></li>
<li><%= link_to t('delete'), panel_personal_experience_plugin_experience_path(experience), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_experience_plugin_experience_path(experience), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || honor.honor_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_honor_back_end_honor_path(honor) %></li>
<li><%= link_to t('delete'), panel_personal_honor_back_end_honor_path(honor), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_honor_back_end_honor_path(honor), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || honor.honor_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_honor_plugin_honor_path(honor) %></li>
<li><%= link_to t('delete'), panel_personal_honor_plugin_honor_path(honor), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_honor_plugin_honor_path(honor), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_journal.writing_journal_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_journal_back_end_writing_journal_path(writing_journal) %></li>
<li><%= link_to t('delete'), panel_personal_journal_back_end_writing_journal_path(writing_journal), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_journal_back_end_writing_journal_path(writing_journal), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_journal.writing_journal_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_journal_plugin_writing_journal_path(writing_journal) %></li>
<li><%= link_to t('delete'), panel_personal_journal_plugin_writing_journal_path(writing_journal), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_journal_plugin_writing_journal_path(writing_journal), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || lab.lab_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_lab_back_end_lab_path(lab) %></li>
<li><%= link_to t('delete'), panel_personal_lab_back_end_lab_path(lab), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_lab_back_end_lab_path(lab), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || lab.lab_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_lab_plugin_lab_path(lab) %></li>
<li><%= link_to t('delete'), panel_personal_lab_plugin_lab_path(lab), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_lab_plugin_lab_path(lab), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_patent.writing_patent_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_patent_back_end_writing_patent_path(writing_patent) %></li>
<li><%= link_to t('delete'), panel_personal_patent_back_end_writing_patent_path(writing_patent), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_patent_back_end_writing_patent_path(writing_patent), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_patent.writing_patent_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_patent_plugin_writing_patent_path(writing_patent) %></li>
<li><%= link_to t('delete'), panel_personal_patent_plugin_writing_patent_path(writing_patent), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_patent_plugin_writing_patent_path(writing_patent), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || project.project_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_project_back_end_project_path(project) %></li>
<li><%= link_to t('delete'), panel_personal_project_back_end_project_path(project), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_project_back_end_project_path(project), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || project.project_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_project_plugin_project_path(project) %></li>
<li><%= link_to t('delete'), panel_personal_project_plugin_project_path(project), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_project_plugin_project_path(project), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || research.research_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_research_back_end_research_path(research) %></li>
<li><%= link_to t('delete'), panel_personal_research_back_end_research_path(research), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_research_back_end_research_path(research), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || research.research_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_research_plugin_research_path(research) %></li>
<li><%= link_to t('delete'), panel_personal_research_plugin_research_path(research), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_research_plugin_research_path(research), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_seminar.writing_seminar_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_seminar_back_end_writing_seminar_path(writing_seminar) %></li>
<li><%= link_to t('delete'), panel_personal_seminar_back_end_writing_seminar_path(writing_seminar), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_seminar_back_end_writing_seminar_path(writing_seminar), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
@@ -11,7 +11,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || writing_seminar.writing_seminar_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_personal_seminar_plugin_writing_seminar_path(writing_seminar) %></li>
<li><%= link_to t('delete'), panel_personal_seminar_plugin_writing_seminar_path(writing_seminar), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_personal_seminar_plugin_writing_seminar_path(writing_seminar), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>
+1 -1
View File
@@ -16,7 +16,7 @@ end
# :active_for_controllers=> ['news_bulletins', '/panel/news/back_end/tags', 'news_bulletin_categorys', 'news_approvals'],
# :active_for_ob_auths_object => ['NewsBulletinCategory'],
# :head_link => panel_news_back_end_news_bulletins_path ,
# :head_label=> I18n.t('admin.news')
# :head_label=> I18n.t(:news)
# context_link :link=>new_panel_news_back_end_news_bulletin_path ,
# :priority=>1,:label=>I18n.t('announcement.add_new'),
@@ -26,7 +26,7 @@
<ul class="nav nav-pills hide">
<%if at_least_module_manager || web_link.web_link_category.cur_user_is_sub_manager_of(:edit)%>
<li><%= link_to t('edit'), edit_panel_web_resource_back_end_web_link_path(web_link) %></li>
<li><%= link_to t('delete'), panel_web_resource_back_end_web_link_path(web_link), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t(:delete_), panel_web_resource_back_end_web_link_path(web_link), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
<% end -%>
</ul>
</div>