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
4874c45d
Commit
4874c45d
authored
Apr 02, 2014
by
Frances Botsford
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove double icons in the wiki sidebar
parent
269cd19a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
lms/static/sass/course/wiki/_wiki.scss
+4
-0
lms/templates/wiki/includes/article_menu.html
+5
-5
No files found.
lms/static/sass/course/wiki/_wiki.scss
View file @
4874c45d
...
...
@@ -325,6 +325,10 @@ section.wiki {
background
:
url(../images/wiki-icons.png)
no-repeat
;
}
[
class
^=
"icon-"
]
{
padding-right
:
(
$baseline
/
4
);
}
.icon-view
,
.icon-home
{
background-position
:
0
0
;
...
...
lms/templates/wiki/includes/article_menu.html
View file @
4874c45d
...
...
@@ -7,7 +7,7 @@
<li
class=
"${"
active
"
if
selected_tab =
=
"
view
"
else
""}"
>
<a
href=
"${reverse('wiki:get', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<
span
class=
"icon-home icon"
></span
>
<
i
class=
"icon-eye-open"
></i
>
${_("View")}
${_("{span_start}(active){span_end}").format(span_start="
<span
class=
'sr'
>
", span_end="
</span>
") if selected_tab == "view" else ""}
</a>
...
...
@@ -16,7 +16,7 @@
%if article.can_write(user):
<li
class=
"${"
active
"
if
selected_tab =
=
"
edit
"
else
""}"
>
<a
href=
"${reverse('wiki:edit', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<
span
class=
"icon-edit icon"
></span
>
<
i
class=
"icon-pencil"
></i
>
${_("Edit")}
${_("{span_start}(active){span_end}").format(span_start="
<span
class=
'sr'
>
", span_end="
</span>
") if selected_tab == "edit" else ""}
</a>
...
...
@@ -25,7 +25,7 @@
<li
class=
"${"
active
"
if
selected_tab =
=
"
history
"
else
""}"
>
<a
href=
"${reverse('wiki:history', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<
span
class=
"icon-changes icon"
></span
>
<
i
class=
"icon-time"
></i
>
${_("Changes")}
${_("{span_start}(active){span_end}").format(span_start="
<span
class=
'sr'
>
", span_end="
</span>
") if selected_tab == "history" else ""}
</a>
...
...
@@ -35,7 +35,7 @@
%if hasattr(plugin, "article_tab"):
<li
class=
"${"
active
"
if
selected_tab =
=
plugin
.
slug
else
""}"
>
<a
href=
"${reverse('wiki:plugin', kwargs={'slug' : plugin.slug, 'article_id' : article.id, 'path' : urlpath.path}) }"
>
<
span
class=
"${plugin.article_tab[1]} icon"
></span
>
<
i
class=
"icon-file ${plugin.article_tab[1]}"
></i
>
${plugin.article_tab[0]}
${_("{span_start}(active){span_end}").format(span_start="
<span
class=
'sr'
>
", span_end="
</span>
") if selected_tab == plugin.slug else ""}
</a>
...
...
@@ -51,7 +51,7 @@ ${_("This should be enabled for all non-anonymous users once the notifications a
%if can_change_permissions(article,user):
<li
class=
"${"
active
"
if
selected_tab =
=
"
settings
"
else
""}"
>
<a
href=
"${reverse('wiki:settings', kwargs={'article_id' : article.id, 'path' : urlpath.path})}"
>
<
span
class=
"icon-settings icon"
></span
>
<
i
class=
"icon-cog"
></i
>
${_("Settings")}
${_("{span_start}active{span_end}").format(span_start="
<span
class=
'sr'
>
(", span_end=")
</span>
") if selected_tab == "settings" else ""}
</a>
...
...
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