Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
bbeed202
Commit
bbeed202
authored
Jan 31, 2013
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include basic activity information on user page (issue #193)
parent
d3c690ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
18 deletions
+29
-18
weblate/html/profile.html
weblate/html/profile.html
+3
-18
weblate/html/user-activity.html
weblate/html/user-activity.html
+20
-0
weblate/html/user.html
weblate/html/user.html
+6
-0
No files found.
weblate/html/profile.html
View file @
bbeed202
...
...
@@ -48,24 +48,9 @@
{% blocktrans %}You can change password on
<a
href=
"{{ pw_url }}"
>
separate page
</a>
.{% endblocktrans %}
</div>
<div
id=
"info"
>
<table>
<tr>
<th>
{% trans "Suggestions made" %}
</th>
<td>
{{ profile.suggested }}
</td>
</tr>
<tr>
<th>
{% trans "Translations made" %}
</th>
<td>
{{ profile.translated }}
</td>
</tr>
<tr>
<th>
{% trans "Last login" %}
</th>
<td>
{{ request.user.last_login|date:"DATETIME_FORMAT" }}
</td>
</tr>
<tr>
<th>
{% trans "Registration date" %}
</th>
<td>
{{ request.user.date_joined|date:"DATETIME_FORMAT" }}
</td>
</tr>
</table>
{% with request.user as user %}
{% include 'user-activity.html' %}
{% endwith %}
</div>
<div
id=
"avatar"
>
<p>
{% gravatar request.user 128 %}
</p>
...
...
weblate/html/user-activity.html
0 → 100644
View file @
bbeed202
{% load i18n %}
<table>
<tr>
<th>
{% trans "Suggestions made" %}
</th>
<td>
{{ profile.suggested }}
</td>
</tr>
<tr>
<th>
{% trans "Translations made" %}
</th>
<td>
{{ profile.translated }}
</td>
</tr>
<tr>
<th>
{% trans "Last login" %}
</th>
<td>
{{ user.last_login|date:"DATETIME_FORMAT" }}
</td>
</tr>
<tr>
<th>
{% trans "Registration date" %}
</th>
<td>
{{ user.date_joined|date:"DATETIME_FORMAT" }}
</td>
</tr>
</table>
weblate/html/user.html
View file @
bbeed202
...
...
@@ -10,6 +10,12 @@
<h2>
{{ page_profile.get_user_name }}
</h2>
<h3>
{% trans "Activity" %}
</h3>
{% with page_profile as profile and page_user as user %}
{% include 'user-activity.html' %}
{% endwith %}
<h3>
{% trans "Recent contributions" %}
</h3>
{% include "last-changes.html" %}
...
...
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