Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: anwiki/_override/actions/action_view/action_view.tpl.php

Issue 9051084: Changed images to use CSS sprites (Closed)
Patch Set: Removed regression fix Created Dec. 21, 2012, 9:47 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: anwiki/_override/actions/action_view/action_view.tpl.php
===================================================================
--- a/anwiki/_override/actions/action_view/action_view.tpl.php
+++ b/anwiki/_override/actions/action_view/action_view.tpl.php
@@ -26,9 +26,8 @@
{{#LANGUAGESELECTION}}
<li id="language">
- <div id="current-language" style="background-image: url('$currentFlag');">
- $currentText
- <img class="arrow" src="/_override-static/global/global/img/down-arrow.png">
+ <div id="current-language" style="background-image: url('$currentText');">
+ <div id="flag-en" class="flag sprite"></div><span>$currentText</span>
</div>
<ul>
EOF;
@@ -41,9 +40,10 @@
$HTML .= <<<EOF
- <li><a href="$url" style="background-image: url('$flag');$linkStyle">$text</a></li>
+ <li><a href="$url"><div id="flag-$text" class="flag sprite"></div>$text</a></li>
EOF;
}
+
$HTML .= <<<EOF
« no previous file with comments | « anwiki/_override-static/global/global/js/vendor/DD_belatedPNG.js ('k') | anwiki/_override/global/global/global.tpl.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld