Skip to content
Permalink
Browse files

fix translation access

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jun 7, 2015
1 parent 2dc9531 commit c1d84a98e4821d228c2f8d0bf612e73bb03ab3a5
@@ -36,15 +36,15 @@
<ul>
%for suburl, text in url:
% if rel_link(permalink, suburl) == "#":
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", langname)}</span></a></li>
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a></li>
%else:
<li><a href="${suburl}">${text}</a></li>
%endif
%endfor
</ul>
% else:
% if rel_link(permalink, url) == "#":
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", langname)}</span></a></li>
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a></li>
%else:
<li><a href="${url}">${text}</a></li>
%endif
@@ -136,15 +136,15 @@ lang="${lang}">
<ul class="dropdown-menu">
%for suburl, text in url:
% if rel_link(permalink, suburl) == "#":
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", langname)}</span></a>
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a>
%else:
<li><a href="${suburl}">${text}</a>
%endif
%endfor
</ul>
% else:
% if rel_link(permalink, url) == "#":
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", langname)}</span></a>
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a>
%else:
<li><a href="${url}">${text}</a>
%endif
@@ -133,15 +133,15 @@ lang="${lang}">
<ul class="dropdown-menu">
%for suburl, text in url:
% if rel_link(permalink, suburl) == "#":
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", langname)}</span></a>
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a>
%else:
<li><a href="${suburl}">${text}</a>
%endif
%endfor
</ul>
% else:
% if rel_link(permalink, url) == "#":
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", langname)}</span></a>
<li class="active"><a href="${permalink}">${text} <span class="sr-only">${messages("(active)", lang)}</span></a>
%else:
<li><a href="${url}">${text}</a>
%endif

0 comments on commit c1d84a9

Please sign in to comment.
You can’t perform that action at this time.