diff --git a/rhodecode/templates/journal.html b/rhodecode/templates/journal/journal.html copy from rhodecode/templates/journal.html copy to rhodecode/templates/journal/journal.html --- a/rhodecode/templates/journal.html +++ b/rhodecode/templates/journal/journal.html @@ -1,5 +1,5 @@ ## -*- coding: utf-8 -*- -<%inherit file="base/base.html"/> +<%inherit file="/base/base.html"/> <%def name="title()"> ${_('Journal')} - ${c.rhodecode_name} @@ -16,38 +16,16 @@
${_('Journal')}
-
- %if c.journal_day_aggreagate: - %for day,items in c.journal_day_aggreagate: -
${day}
- % for entry in items: -
-
- gravatar -
-
${entry.user.name} ${entry.user.lastname}
-
${h.action_parser(entry)}
-
- ${h.action_parser_icon(entry)} -
-
- - %if entry.repository: - ${h.link_to(entry.repository.repo_name, - h.url('summary_home',repo_name=entry.repository.repo_name))} - %else: - ${entry.repository_name} - %endif - - ${h.age(entry.action_date)} -
-
-
- %endfor - %endfor - %else: - ${_('No entries yet')} - %endif -
+ +
${c.journal_data}
@@ -56,40 +34,31 @@
${_('Following')}
- %if c.following: - %for entry in c.following: -
- %if entry.follows_user_id: - ${_('user')} - ${entry.follows_user.full_contact} - %endif - - %if entry.follows_repo_id: - - %if entry.follows_repository.private: - ${_('private repository')} - %else: - ${_('public repository')} - %endif - - ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home', - repo_name=entry.follows_repository.repo_name))} - - %endif -
- %endfor - %else: - ${_('You are not following any users or repositories')} - %endif + %if c.following: + %for entry in c.following: +
+ %if entry.follows_user_id: + ${_('user')} + ${entry.follows_user.full_contact} + %endif + + %if entry.follows_repo_id: + + %if entry.follows_repository.private: + ${_('private repository')} + %else: + ${_('public repository')} + %endif + + ${h.link_to(entry.follows_repository.repo_name,h.url('summary_home', + repo_name=entry.follows_repository.repo_name))} + + %endif +
+ %endfor + %else: + ${_('You are not following any users or repositories')} + %endif
- - - - +