Project

General

Profile

Actions

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 over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Administration
Target version:
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

add-wiki-toolbar@2x.png (29.8 KB) add-wiki-toolbar@2x.png Go MAEDA, 2019-09-17 06:13

Related issues

Has duplicate Redmine - Feature #8965: Formatting buttons for edit controls for e-mail headers and footersClosed2011-08-01

Actions
Actions #1

Updated by Etienne Massip over 13 years ago

  • Category set to Administration
Actions #2

Updated by Etienne Massip over 13 years ago

  • Target version set to Candidate for next major release
Actions #3

Updated by Go MAEDA over 5 years ago

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;">

Actions #4

Updated by Go MAEDA over 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.

Actions #5

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

Also available in: Atom PDF