Vote #69885
完了Add wiki toolbar to "Email header" and "Email footer" in "Email notifications" admin tab
0%
説明
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
To
Thanks
journals
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Here is a patch to implement the feature.
<pre><code class="diff">
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;">
</code></pre>
!{width: 759px; border: 1px solid #ccc;}.add-wiki-toolbar@2x.png!
--------------------------------------------------------------------------------
Committed the patch.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
duplicates,Closed,8965,Formatting buttons for edit controls for e-mail headers and footers