Actions
Feature #8343
closedAdd wiki toolbar to "Email header" and "Email footer" in "Email notifications" admin tab
Start date:
2011-05-11
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
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
Related issues
Updated by Etienne Massip over 13 years ago
- Target version set to Candidate for next major release
Updated by Go MAEDA about 5 years ago
- File add-wiki-toolbar@2x.png add-wiki-toolbar@2x.png added
- Target version changed from Candidate for next major release to 4.1.0
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;">
Updated by Go MAEDA about 5 years ago
- 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
Committed the patch.
Updated by Go MAEDA over 3 years ago
- Has duplicate Feature #8965: Formatting buttons for edit controls for e-mail headers and footers added
Actions