diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-20 08:50:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-01-20 08:50:39 +0000 |
commit | 7467c145c03c07f42c844d52956fa708bb7d05ee (patch) | |
tree | 29b5d09a64047cf076c3eca8257c087de3fea268 /test/unit/helpers | |
parent | 2ec87100a91f88e8eb220225141a3873e9aaf933 (diff) | |
download | redmine-7467c145c03c07f42c844d52956fa708bb7d05ee.tar.gz redmine-7467c145c03c07f42c844d52956fa708bb7d05ee.zip |
Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes
* Create some CSS classes where necessary
* Change "check all" positioned on the right in "Trackers -> Summary" and
"Roles -> Permissions report" instead of left like in "Worfklow"
* Add missing title attribute in a few places
* Makes some lines shorter while at it
Patch by Daniel Ritz.
git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 6b0d1c7d3..6c0d7abd0 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -1243,14 +1243,14 @@ RAW # heading that contains inline code assert_match Regexp.new('<div class="contextual" title="Edit this section" id="section-4">' + - '<a href="/projects/1/wiki/Test/edit\?section=4"><img src="/images/edit.png(\?\d+)?" alt="Edit" /></a></div>' + + '<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=4"></a></div>' + '<a name="Subtitle-with-inline-code"></a>' + '<h2 >Subtitle with <code>inline code</code><a href="#Subtitle-with-inline-code" class="wiki-anchor">¶</a></h2>'), result # last heading assert_match Regexp.new('<div class="contextual" title="Edit this section" id="section-5">' + - '<a href="/projects/1/wiki/Test/edit\?section=5"><img src="/images/edit.png(\?\d+)?" alt="Edit" /></a></div>' + + '<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=5"></a></div>' + '<a name="Subtitle-after-pre-tag"></a>' + '<h2 >Subtitle after pre tag<a href="#Subtitle-after-pre-tag" class="wiki-anchor">¶</a></h2>'), result |