Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
52ed7b27
Commit
52ed7b27
authored
Oct 22, 2013
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add i18n hooks.
LMS-1306
parent
0752375e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lms/templates/wiki/includes/article_menu.html
+5
-5
No files found.
lms/templates/wiki/includes/article_menu.html
View file @
52ed7b27
...
...
@@ -9,7 +9,7 @@
<a
href=
"${reverse('wiki:get', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<span
class=
"icon-home icon"
></span>
View
${
"
<span
class=
'sr'
>
(active)
</span>
"
if selected_tab == "view" else ""}
${
_("{span_start}active{span_end}").format(span_start="
<span
class=
'sr'
>
(", span_end=")
</span>
")
if selected_tab == "view" else ""}
</a>
</li>
...
...
@@ -18,7 +18,7 @@
<a
href=
"${reverse('wiki:edit', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<span
class=
"icon-edit icon"
></span>
Edit
${
"
<span
class=
'sr'
>
(active)
</span>
"
if selected_tab == "edit" else ""}
${
_("{span_start}active{span_end}").format(span_start="
<span
class=
'sr'
>
(", span_end=")
</span>
")
if selected_tab == "edit" else ""}
</a>
</li>
%endif
...
...
@@ -27,7 +27,7 @@
<a
href=
"${reverse('wiki:history', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<span
class=
"icon-changes icon"
></span>
Changes
${
"
<span
class=
'sr'
>
(active)
</span>
"
if selected_tab == "history" else ""}
${
_("{span_start}active{span_end}").format(span_start="
<span
class=
'sr'
>
(", span_end=")
</span>
")
if selected_tab == "history" else ""}
</a>
</li>
...
...
@@ -37,7 +37,7 @@
<a
href=
"${reverse('wiki:plugin', kwargs={'slug' : plugin.slug, 'article_id' : article.id, 'path' : urlpath.path}) }"
>
<span
class=
"${plugin.article_tab[1]} icon"
></span>
${plugin.article_tab[0]}
${
"
<span
class=
'sr'
>
(active)
</span>
"
if selected_tab == plugin.slug else ""}
${
_("{span_start}active{span_end}").format(span_start="
<span
class=
'sr'
>
(", span_end=")
</span>
")
if selected_tab == plugin.slug else ""}
</a>
</li>
%endif
...
...
@@ -53,7 +53,7 @@ ${_("This should be enabled for all non-anonymous users once the notifications a
<a
href=
"${reverse('wiki:settings', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<span
class=
"icon-settings icon"
></span>
${_("Settings")}
${
"
<span
class=
'sr'
>
(active)
</span>
"
if selected_tab == "settings" else ""}
${
_("{span_start}active{span_end}").format(span_start="
<span
class=
'sr'
>
(", span_end=")
</span>
")
if selected_tab == "settings" else ""}
</a>
</li>
%endif
...
...
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