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
266d863e
authored
Feb 13, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: add lock icon to common templates
parent
e72eb8cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletions
+9
-1
one/static/icons/lock-small.png
+0
-0
one/templates/box-templatelist.html
+5
-1
one/templates/new-template-flow-1.html
+4
-0
No files found.
one/static/icons/lock-small.png
0 → 100644
View file @
266d863e
418 Bytes
one/templates/box-templatelist.html
View file @
266d863e
...
...
@@ -103,7 +103,11 @@
{% for t in publictemplates %}
<li
class=
"wm"
id=
"t{{t.id }}"
>
<div
class=
"summary public-template"
>
<div
class=
"name"
>
{{t.name}}
</div>
<div
class=
"name"
>
{{t.name}}
<img
src=
"/static/icons/lock-small.png"
alt=
"{% trans "
locked
"
%}"
title=
"{% trans "
This
is
a
shared
template
."
%}"
/>
</div>
<div
class=
"status"
>
{{t.state}}
</div>
<div
class=
"actions"
>
{% if t.state == 'READY' %}
...
...
one/templates/new-template-flow-1.html
View file @
266d863e
...
...
@@ -27,6 +27,10 @@
<label>
<input
type=
"radio"
name=
"base"
value=
"{{m.id}}"
/>
{{m.name}}
{% if m.public %}
<img
src=
"/static/icons/lock-small.png"
alt=
"{% trans "
locked
"
%}"
title=
"{% trans "
This
is
a
shared
template
."
%}"
/>
{% endif %}
</label>
</div>
<div
class=
"clear"
></div>
...
...
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