Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
c294526f
authored
Jun 04, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: i18n for profile
parent
9298448a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
circle/dashboard/templates/dashboard/profile.html
+11
-11
No files found.
circle/dashboard/templates/dashboard/profile.html
View file @
c294526f
...
...
@@ -22,19 +22,19 @@
<img
id=
"dashboard-profile-avatar"
src=
"{{ avatar_url }}"
class=
"img-rounded"
/>
</div>
<div
class=
""
style=
"padding-left: 215px;"
>
<p>
Username
: {{ profile.username }}
</p>
<p>
Organisation ID
: {{ profile.profile.org_id|default:"-" }}
</p>
<p>
First name
: {{ profile.first_name|default:"-" }}
</p>
<p>
Last name
: {{ profile.last_name|default:"-" }}
</p>
<p>
Email address
: {{ profile.email }}
</p>
<p>
{% trans "Username" %}
: {{ profile.username }}
</p>
<p>
{% trans "Organisation ID" %}
: {{ profile.profile.org_id|default:"-" }}
</p>
<p>
{% trans "First name" %}
: {{ profile.first_name|default:"-" }}
</p>
<p>
{% trans "Last name" %}
: {{ profile.last_name|default:"-" }}
</p>
<p>
{% trans "Email address" %}
: {{ profile.email }}
</p>
{% if request.user == profile %}
<p>
Use email address as Gravatar profile image
:
{% trans "Use email address as Gravatar profile image" %}
:
<input
id=
"dashboard-profile-use-gravatar"
data-user=
"{{ profile.pk }}"
{%
if
profile
.
profile
.
use_gravatar
%}
checked=
"checked"
{%
endif
%}
type=
"checkbox"
/>
<a
href=
"https://gravatar.com"
>
What's Gravatar?
</a>
type=
"checkbox"
/>
<a
href=
"https://gravatar.com"
>
{% trans "What's Gravatar?" %}
</a>
</p>
<a
href=
"{% url "
dashboard
.
views
.
profile-preferences
"
%}"
>
Change password or language
</a>
<a
href=
"{% url "
dashboard
.
views
.
profile-preferences
"
%}"
>
{% trans "Change password and language" %}
</a>
{% endif %}
</div>
<div
class=
"clearfix"
></div>
...
...
@@ -43,7 +43,7 @@
{% if perm_group_list %}
<hr
/>
<h4>
<i
class=
"icon-group"
></i>
Groups
<i
class=
"icon-group"
></i>
{% trans "Groups" %}
</h4>
<ul
class=
"dashboard-profile-group-list"
>
{% for g in groups %}
...
...
@@ -58,7 +58,7 @@
<h4>
<i
class=
"icon-desktop"
></i>
Virtual machines owned by the user
({{ instances_owned|length }})
{% trans "Virtual machines owned by the user" %}
({{ instances_owned|length }})
</h4>
<ul
class=
"dashboard-profile-vm-list"
>
{% for i in instances_owned %}
...
...
@@ -79,7 +79,7 @@
<h4>
<i
class=
"icon-desktop"
></i>
Virtual machines with access
({{ instances_with_access|length }})
{% trans "Virtual machines with access" %}
({{ instances_with_access|length }})
</h4>
<ul
class=
"dashboard-profile-vm-list"
>
{% for i in instances_with_access %}
...
...
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