Merge branch 'master' into ldap
This commit is contained in:
commit
2c6208db3c
6 files changed
+32
-35
No files matched your search
+1
-1
@@ -29,7 +29,7 @@
|
||||
</div>
|
||||
</td>
|
||||
<td><%= bulletin.bulletin_category.i18n_variable[I18n.locale] %></td>
|
||||
<td><%= link_to bulletin.title[I18n.locale], panel_announcement_back_end_bulletin_path(bulletin) rescue ''%></td>
|
||||
<td><%= link_to bulletin.title[I18n.locale], panel_announcement_front_end_bulletin_path(bulletin) rescue ''%></td>
|
||||
<td><%= bulletin.postdate %></td>
|
||||
<td><%= (bulletin.deadline) ? bulletin.deadline : t('bulletin.no_deadline') %></td>
|
||||
<td>
|
||||
|
||||
Vendored
+2
-9
@@ -146,7 +146,7 @@
|
||||
<% @site_valid_locales.each do |locale| %>
|
||||
<td>
|
||||
<%= I18nVariable.from_locale(locale) %>
|
||||
<%= f.text_area locale, :style=>"width:100%" %>
|
||||
<%= f.text_area locale, :style=>"width:100%", :class => 'tinymce_textarea' %>
|
||||
</td>
|
||||
<% end %>
|
||||
<% end %>
|
||||
@@ -158,7 +158,7 @@
|
||||
<% @site_valid_locales.each do |locale| %>
|
||||
<td>
|
||||
<%= I18nVariable.from_locale(locale) %>
|
||||
<%= f.text_area locale, :style=>"width:100%" %>
|
||||
<%= f.text_area locale, :style=>"width:100%", :class => 'tinymce_textarea' %>
|
||||
</td>
|
||||
<% end %>
|
||||
<% end %>
|
||||
@@ -286,11 +286,4 @@
|
||||
$(this).parents('table').append(("<%= escape_javascript(add_attribute 'bulletin_file', f, :bulletin_files) %>").replace(old_id, new_id));
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('textarea').tinymce({
|
||||
theme: 'advanced'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<% end %>
|
||||
Vendored
-12
@@ -1,15 +1,3 @@
|
||||
<% content_for :secondary do %>
|
||||
<%= render :partial => '/panel/announcement/back_end/announcement_secondary' %>
|
||||
<% end -%>
|
||||
|
||||
<%= flash_messages %>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<b><%= t('announcement.category') %></b>
|
||||
|
||||
+1
-12
@@ -15,7 +15,7 @@
|
||||
<% @site_valid_locales.each do |locale| %>
|
||||
<td>
|
||||
<%= I18nVariable.from_locale(locale) %>
|
||||
<%= f.text_area locale, :style=>"width:100%" %>
|
||||
<%= f.text_area locale, :style=>"width:100%", :class => 'tinymce_textarea' %>
|
||||
</td>
|
||||
<% end %>
|
||||
<% end %>
|
||||
@@ -27,14 +27,3 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<% content_for :page_specific_javascript do %>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$('textarea').tinymce({
|
||||
theme: 'advanced'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<% end %>
|
||||
Reference in new issue
Block a user