Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
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
Commit
cb4e68fd
authored
Mar 16, 2015
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: add humanized dates to notifications
parent
8b317f44
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
circle/dashboard/templates/dashboard/_notifications-timeline.html
+4
-2
circle/dashboard/templates/dashboard/notifications.html
+3
-0
No files found.
circle/dashboard/templates/dashboard/_notifications-timeline.html
View file @
cb4e68fd
{% load i18n %}
{% load i18n %}
{% load hro %}
{% load hro %}
{% load arrowfilter %}
{% for n in page %}
{% for n in page %}
<li
class=
"notification-message"
id=
"msg-{{n.id}}"
>
<li
class=
"notification-message"
id=
"msg-{{n.id}}"
>
<span
class=
"notification-message-subject"
>
<span
class=
"notification-message-subject"
>
{% if n.status == "new" %}
<i
class=
"fa fa-envelope-o"
></i>
{% endif %}
{% if n.status == "new" %}
<i
class=
"fa fa-envelope-o"
></i>
{% endif %}
{{ n.subject|get_text:user }}
{{ n.subject|get_text:user }}
</span>
</span>
<span
class=
"notification-message-date pull-right"
title=
"{{n.created}}"
>
<span
class=
"notification-message-date pull-right"
title=
"{{n.created}}"
data-container=
"body"
>
{{ n.created|
timesince
}}
{{ n.created|
arrowfilter:LANGUAGE_CODE
}}
</span>
</span>
<div
style=
"clear: both;"
></div>
<div
style=
"clear: both;"
></div>
<div
class=
"notification-message-text"
>
<div
class=
"notification-message-text"
>
...
...
circle/dashboard/templates/dashboard/notifications.html
View file @
cb4e68fd
{% extends "dashboard/base.html" %}
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load i18n %}
{% block title-page %}{% trans "Notifications" %}{% endblock %}
{% block content %}
{% block content %}
<div
class=
"row"
>
<div
class=
"row"
>
...
...
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