Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
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
OpenEdx
django-wiki
Commits
47dee16b
Commit
47dee16b
authored
Aug 07, 2013
by
benjaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix btn-default in some other cases
parent
9ccb216c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
wiki/forms.py
+1
-1
wiki/templates/wiki/history.html
+1
-1
No files found.
wiki/forms.py
View file @
47dee16b
...
@@ -177,7 +177,7 @@ class SelectWidgetBootstrap(forms.Select):
...
@@ -177,7 +177,7 @@ class SelectWidgetBootstrap(forms.Select):
final_attrs
=
self
.
build_attrs
(
attrs
,
name
=
name
)
final_attrs
=
self
.
build_attrs
(
attrs
,
name
=
name
)
output
=
[
"""<div
%(attrs)
s>"""
output
=
[
"""<div
%(attrs)
s>"""
""" <button class="btn btn-group-label
%(disabled)
s" type="button">
%(label)
s</button>"""
""" <button class="btn btn-group-label
%(disabled)
s" type="button">
%(label)
s</button>"""
""" <button class="btn dropdown-toggle
%(disabled)
s" type="button" data-toggle="dropdown">"""
""" <button class="btn
btn-default
dropdown-toggle
%(disabled)
s" type="button" data-toggle="dropdown">"""
""" <span class="caret"></span>"""
""" <span class="caret"></span>"""
""" </button>"""
""" </button>"""
""" <ul class="dropdown-menu">"""
""" <ul class="dropdown-menu">"""
...
...
wiki/templates/wiki/history.html
View file @
47dee16b
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
</div>
</div>
<div
class=
"pull-right"
style=
"vertical-align: middle; margin: 8px 8px;"
>
<div
class=
"pull-right"
style=
"vertical-align: middle; margin: 8px 8px;"
>
{% if revision == article.current_revision %}
{% if revision == article.current_revision %}
<a
href=
"#"
class=
"btn disabled"
>
<a
href=
"#"
class=
"btn
btn-default
disabled"
>
<span
class=
"icon-lock"
></span>
<span
class=
"icon-lock"
></span>
{% trans "Preview this revision" %}
{% trans "Preview this revision" %}
</a>
</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