From 3e481bb44c8f2d400aafe990f0c3a2dac1a3d81a Mon Sep 17 00:00:00 2001 From: Kris Lou Date: Mon, 21 Dec 2015 11:49:32 -0800 Subject: [PATCH 1/2] CSS: Moves label_overview out of the splitcontentleft class This makes the Overview h2 part of the default content, instead of part of the splitcontentleft class. Plays nicer with Pixel-Cookers. --- app/views/articles/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/articles/index.html.erb b/app/views/articles/index.html.erb index 695e45f..64c794b 100644 --- a/app/views/articles/index.html.erb +++ b/app/views/articles/index.html.erb @@ -18,8 +18,8 @@ <% else %> <% if User.current.allowed_to?(:view_kb_articles, @project) %> +

<%=l(:label_overview)%>

-

<%=l(:label_overview)%>

<%= l(:title_overview_summary) %>

    From db55c820427f7aa99c48ef2587351cb1a8e1e867 Mon Sep 17 00:00:00 2001 From: Kris Lou Date: Tue, 22 Dec 2015 11:57:43 -0800 Subject: [PATCH 2/2] CSS: Applies Wiki div to the Article Title The Article Title is an unformatted (and un-classed)

    . This applies the "wiki" div class to the title. --- app/views/articles/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/articles/show.html.erb b/app/views/articles/show.html.erb index 071531e..1555830 100644 --- a/app/views/articles/show.html.erb +++ b/app/views/articles/show.html.erb @@ -42,7 +42,7 @@ <%= link_to @article.category.title, { :controller => 'categories', :action => 'show', :id => @article.category.id, :project_id => @project} %>

    -

    <%= @article.title %>

    +

    <%= @article.title %>

    <% unless redmine_knowledgebase_settings_value(:disable_article_summaries) %>
    <%= @article.summary %>
    <% end %>