Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c2a45e45
authored
Jun 26, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: fix icon on operate template
fixes
#174
parent
d48175e1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
circle/dashboard/templates/dashboard/operate.html
+1
-1
circle/dashboard/views.py
+1
-0
No files found.
circle/dashboard/templates/dashboard/operate.html
View file @
c2a45e45
...
...
@@ -19,6 +19,6 @@ Do you want to do the following operation on {{obj}}:
<div
class=
"pull-right"
>
<a
class=
"btn btn-default"
href=
"{{object.get_absolute_url}}"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</a>
<button
class=
"btn btn-danger"
type=
"submit"
>
{% if op
.icon %}
<i
class=
"icon-{{op
.icon}}"
></i>
{% endif %}{{ op|capfirst }}
</button>
<button
class=
"btn btn-danger"
type=
"submit"
>
{% if op
view.icon %}
<i
class=
"icon-{{opview
.icon}}"
></i>
{% endif %}{{ op|capfirst }}
</button>
</div>
</form>
circle/dashboard/views.py
View file @
c2a45e45
...
...
@@ -536,6 +536,7 @@ class OperationView(DetailView):
def
get_context_data
(
self
,
**
kwargs
):
ctx
=
super
(
OperationView
,
self
)
.
get_context_data
(
**
kwargs
)
ctx
[
'op'
]
=
self
.
get_op
()
ctx
[
'opview'
]
=
self
ctx
[
'url'
]
=
self
.
request
.
path
return
ctx
...
...
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