Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Markech
refinerycms-news
Commits
401d3ecb
Commit
401d3ecb
authored
Nov 09, 2012
by
Pedro Pablo Guijarro
Committed by
Uģis Ozols
Nov 09, 2012
Browse files
fixed selected background on images
parent
7234da0a
Changes
1
Show whitespace changes
Inline
Side-by-side
app/views/refinery/news/admin/items/_locale_picker.html.erb
View file @
401d3ecb
...
...
@@ -2,7 +2,7 @@
<%
if
(
locales
||=
::
Refinery
::
I18n
.
frontend_locales
).
present?
and
locales
.
many?
%>
<ul
id=
'switch_locale_picker'
class=
'clearfix'
>
<%
locales
.
each
do
|
locale
|
%>
<li
<%=
" class='selected'"
if
locale
.
to_s
==
local_assigns
[
:current_locale
].
to_s
%>
>
<li
<%=
" class='selected'"
.
html_safe
if
locale
.
to_s
==
local_assigns
[
:current_locale
].
to_s
%>
>
<%=
link_to
refinery_icon_tag
(
"flags/
#{
locale
}
.png"
,
:size
=>
'48x33'
),
refinery
.
url_for
(
:switch_locale
=>
locale
)
%>
</li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment