Feature #8343
closed
Add wiki toolbar to "Email header" and "Email footer" in "Email notifications" admin tab
Added by Luis Serrano Aranda over 13 years ago.
Updated about 5 years ago.
Description
It is possible to change and put the bar wiki bar indside the emails header ?
I try but don't work ...
Could you helpme
I try changing this in the _notifications.rhtm:
From
<fieldset class="box"><legend><%= l(:setting_emails_header) %></legend>
<%= setting_text_area :emails_header, :label => false, :class => 'wiki-edit', :rows => 5 %>
</fieldset>
To
<fieldset class="box"><legend><%= l(:setting_emails_header) %></legend>
<%= setting_text_area :emails_header, :label => false, :class => 'wiki-edit', :rows => 5 %>
<%= wikitoolbar_for 'settings_emails_header' %>
</fieldset>
Thanks
Files
- Category set to Administration
- Target version set to Candidate for next major release
Here is a patch to implement the feature.
diff --git a/app/views/settings/_notifications.html.erb b/app/views/settings/_notifications.html.erb
index f50bd33cb..5eb73d879 100644
--- a/app/views/settings/_notifications.html.erb
+++ b/app/views/settings/_notifications.html.erb
@@ -22,10 +22,12 @@
<fieldset class="box"><legend><%= l(:setting_emails_header) %></legend>
<%= setting_text_area :emails_header, :label => false, :class => 'wiki-edit', :rows => 5 %>
+<%= wikitoolbar_for 'settings_emails_header' %>
</fieldset>
<fieldset class="box"><legend><%= l(:setting_emails_footer) %></legend>
<%= setting_text_area :emails_footer, :label => false, :class => 'wiki-edit', :rows => 5 %>
+<%= wikitoolbar_for 'settings_emails_footer' %>
</fieldset>
<div style="float:right;">
- Subject changed from Add wikibar inside notifications menu to Add wiki toolbar to "Email header" and "Email footer" in "Email notifications" admin tab
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
- Has duplicate Feature #8965: Formatting buttons for edit controls for e-mail headers and footers added
Also available in: Atom
PDF