https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292018-04-11T13:51:09ZRedmineRedmine - Feature #28531: Add css to distinguish when a main menu is present or nothttps://www.redmine.org/issues/28531?journal_id=845022018-04-11T13:51:09ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul><p>Here is a test code for the feature.</p>
<pre><code class="diff syntaxhl"><span class="gh">index d52fef2d5..0b01f5d7f 100644
</span><span class="gd">--- a/test/integration/lib/redmine/menu_manager_test.rb
</span><span class="gi">+++ b/test/integration/lib/redmine/menu_manager_test.rb
</span><span class="p">@@ -77,4 +77,11 @@</span> class MenuManagerTest < Redmine::IntegrationTest
get '/login'
assert_select '#main-menu', 0
end
<span class="gi">+
+ def test_body_should_have_main_menu_css_class_if_main_menu_is_present
+ get '/projects'
+ assert_select 'body.has-main-menu'
+ get '/'
+ assert_select 'body.has-main-menu', 0
+ end
</span> end
</code></pre> Redmine - Feature #28531: Add css to distinguish when a main menu is present or nothttps://www.redmine.org/issues/28531?journal_id=845032018-04-11T14:37:46ZFelix Schäfer
<ul></ul><p>Thank you!</p> Redmine - Feature #28531: Add css to distinguish when a main menu is present or nothttps://www.redmine.org/issues/28531?journal_id=845892018-04-22T06:59:19ZGo MAEDA
<ul><li><strong>Category</strong> changed from <i>Themes</i> to <i>UI</i></li><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>4.1.0</i></li></ul><p>Setting target version to 4.1.0.</p> Redmine - Feature #28531: Add css to distinguish when a main menu is present or nothttps://www.redmine.org/issues/28531?journal_id=845982018-04-23T05:17:05ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Go MAEDA</i></li><li><strong>Target version</strong> changed from <i>4.1.0</i> to <i>4.0.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Committed. Thanks.</p>