From af29408e831dcfbdd95701e3c75f420f7975b079 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 19 Nov 2016 13:50:30 +0000 Subject: [PATCH] Add "Table of contents" heading to toc macro (#23179). git-svn-id: http://svn.redmine.org/redmine/trunk@15992 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- config/locales/de.yml | 1 + config/locales/en.yml | 1 + config/locales/fr.yml | 1 + public/stylesheets/application.css | 1 + test/unit/helpers/application_helper_test.rb | 9 +++++++++ test/unit/lib/redmine/wiki_formatting/macros_test.rb | 4 +++- 7 files changed, 17 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 61b29e740..b6874757c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1012,7 +1012,7 @@ module ApplicationHelper div_class = 'toc' div_class << ' right' if right_align div_class << ' left' if left_align - out = "