Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gyuricska Milán
/
cloud
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
66afc59c
authored
Nov 02, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: add profile links
parent
cfb90704
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
circle/dashboard/templates/dashboard/template-edit.html
+2
-1
circle/dashboard/templates/dashboard/vm-detail/access.html
+2
-1
No files found.
circle/dashboard/templates/dashboard/template-edit.html
View file @
66afc59c
...
...
@@ -87,8 +87,9 @@
{% if user == object.owner %}
{% blocktrans %}You are the current owner of this template.{% endblocktrans %}
{% else %}
{% url "dashboard.views.profile" username=object.owner.username as url %}
{% blocktrans with owner=object.owner name=object.owner.get_full_name%}
The current owner of this template is
<
strong>
{{name}} ({{owner}})
</strong
>
.
The current owner of this template is
<
a
href=
"{{url}}"
>
{{name}} ({{owner}})
</a
>
.
{% endblocktrans %}
{% endif %}
{% if user == object.owner or user.is_superuser %}
...
...
circle/dashboard/templates/dashboard/vm-detail/access.html
View file @
66afc59c
...
...
@@ -4,8 +4,9 @@
{% if user == instance.owner %}
{% blocktrans %}You are the current owner of this instance.{% endblocktrans %}
{% else %}
{% url "dashboard.views.profile" username=instance.owner.username as url %}
{% blocktrans with owner=instance.owner name=instance.owner.get_full_name%}
The current owner of this instance is
<
strong>
{{name}} ({{owner}})
</strong
>
.
The current owner of this instance is
<
a
href=
"{{url}}"
>
{{name}} ({{owner}})
</a
>
.
{% endblocktrans %}
{% endif %}
{% if user == instance.owner or user.is_superuser %}
...
...
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