Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3f7f0833
authored
Apr 18, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: make operate template more generic
parent
9168b2bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
circle/dashboard/templates/dashboard/operate.html
+5
-1
No files found.
circle/dashboard/templates/dashboard/operate.html
View file @
3f7f0833
{% load i18n %}
{% load i18n %}
{% block question %}
<p>
<p>
{% blocktrans with obj=object op=op.name %}
{% blocktrans with obj=object op=op.name %}
Do you want to do the following operation on {{obj}}:
Do you want to do the following operation on {{obj}}:
...
@@ -7,9 +8,12 @@ Do you want to do the following operation on {{obj}}:
...
@@ -7,9 +8,12 @@ Do you want to do the following operation on {{obj}}:
{% endblocktrans %}
{% endblocktrans %}
</p>
</p>
<p
class=
"text-info"
>
{{op.name}}: {{op.description}}
</p>
<p
class=
"text-info"
>
{{op.name}}: {{op.description}}
</p>
<div
class=
"pull-right"
>
{% endblock %}
<form
method=
"POST"
action=
"{{url}}"
>
{% csrf_token %}
<form
method=
"POST"
action=
"{{url}}"
>
{% csrf_token %}
{% block formfields %}{% endblock %}
<div
class=
"pull-right"
>
<a
class=
"btn btn-default"
href=
"{{object.get_absolute_url}}"
<a
class=
"btn btn-default"
href=
"{{object.get_absolute_url}}"
data-dismiss=
"modal"
>
{% trans "Cancel" %}
</a>
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.icon %}
<i
class=
"icon-{{op.icon}}"
></i>
{% endif %}{{ op|capfirst }}
</button>
</div>
</form>
</form>
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