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
fea2c505
authored
Jun 05, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: minor fixes
parent
e79acf21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
circle/dashboard/models.py
+2
-1
circle/dashboard/templates/dashboard/profile.html
+1
-1
No files found.
circle/dashboard/models.py
View file @
fea2c505
...
@@ -90,7 +90,8 @@ class Profile(Model):
...
@@ -90,7 +90,8 @@ class Profile(Model):
valid_until
)
valid_until
)
def
get_absolute_url
(
self
):
def
get_absolute_url
(
self
):
return
reverse
(
"dashboard.views.profile"
,
kwargs
=
{
'pk'
:
self
.
user
.
pk
})
return
reverse
(
"dashboard.views.profile"
,
kwargs
=
{
'username'
:
self
.
user
.
username
})
class
GroupProfile
(
AclBase
):
class
GroupProfile
(
AclBase
):
...
...
circle/dashboard/templates/dashboard/profile.html
View file @
fea2c505
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
</div>
</div>
<div
class=
""
style=
"padding-left: 215px;"
>
<div
class=
""
style=
"padding-left: 215px;"
>
<p>
{% trans "Username" %}: {{ profile.username }}
</p>
<p>
{% trans "Username" %}: {{ profile.username }}
</p>
<p>
{% trans "Organi
s
ation ID" %}: {{ profile.profile.org_id|default:"-" }}
</p>
<p>
{% trans "Organi
z
ation ID" %}: {{ profile.profile.org_id|default:"-" }}
</p>
<p>
{% trans "First name" %}: {{ profile.first_name|default:"-" }}
</p>
<p>
{% trans "First name" %}: {{ profile.first_name|default:"-" }}
</p>
<p>
{% trans "Last name" %}: {{ profile.last_name|default:"-" }}
</p>
<p>
{% trans "Last name" %}: {{ profile.last_name|default:"-" }}
</p>
<p>
<p>
...
...
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