From e430be464cff8e98cc48a0c9317e1632537c9d16 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 3 Jun 2013 15:53:00 +0200 Subject: [PATCH] SONAR-4328 revert --- .../webapp/WEB-INF/app/controllers/markdown_controller.rb | 4 ++-- .../main/webapp/WEB-INF/app/views/markdown/_tips.html.erb | 2 +- .../app/views/markdown/{_help.html.erb => help.html.erb} | 7 ++----- 3 files changed, 5 insertions(+), 8 deletions(-) rename sonar-server/src/main/webapp/WEB-INF/app/views/markdown/{_help.html.erb => help.html.erb} (83%) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/markdown_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/markdown_controller.rb index e52268adeef..e4beec054dc 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/markdown_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/markdown_controller.rb @@ -25,8 +25,8 @@ class MarkdownController < ApplicationController skip_before_filter :check_database_version, :check_authentication def help - verify_ajax_request - render :partial => 'markdown/help' + params[:layout] = 'false' + render :action => 'help' end end \ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/_tips.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/_tips.html.erb index 27a85906f41..546d38240d2 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/_tips.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/_tips.html.erb @@ -1,4 +1,4 @@
- <%= message('markdown.helplink')-%> : + <%= message('markdown.helplink')-%> :   *<%= message('bold') -%>*    ``<%= message('code') -%>``    * <%= message('bulleted_point') -%>
\ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/_help.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/help.html.erb similarity index 83% rename from sonar-server/src/main/webapp/WEB-INF/app/views/markdown/_help.html.erb rename to sonar-server/src/main/webapp/WEB-INF/app/views/markdown/help.html.erb index a1b3a29817f..86024ca7769 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/_help.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/markdown/help.html.erb @@ -1,5 +1,5 @@ - -