diff --git a/rhodecode/templates/admin/gists/show.mako b/rhodecode/templates/admin/gists/show.mako --- a/rhodecode/templates/admin/gists/show.mako +++ b/rhodecode/templates/admin/gists/show.mako @@ -73,7 +73,7 @@
-
+
${self.gravatar_with_user(c.file_last_commit.author, 16)} - ${_('created')} ${h.age_component(c.file_last_commit.date)}
diff --git a/rhodecode/templates/admin/repos/repo_edit_permissions.mako b/rhodecode/templates/admin/repos/repo_edit_permissions.mako --- a/rhodecode/templates/admin/repos/repo_edit_permissions.mako +++ b/rhodecode/templates/admin/repos/repo_edit_permissions.mako @@ -39,7 +39,7 @@ - ${_('private repository')} + ${_('private repository')} diff --git a/rhodecode/templates/admin/settings/settings_email.mako b/rhodecode/templates/admin/settings/settings_email.mako --- a/rhodecode/templates/admin/settings/settings_email.mako +++ b/rhodecode/templates/admin/settings/settings_email.mako @@ -23,7 +23,7 @@
%for dt, dd, tt in elems:
${dt}:
-
${dd}
+
${dd}
%endfor
diff --git a/rhodecode/templates/admin/settings/settings_sessions.mako b/rhodecode/templates/admin/settings/settings_sessions.mako --- a/rhodecode/templates/admin/settings/settings_sessions.mako +++ b/rhodecode/templates/admin/settings/settings_sessions.mako @@ -16,7 +16,7 @@
%for dt, dd, tt in elems:
${dt}:
-
${dd}
+
${dd}
%endfor
diff --git a/rhodecode/templates/base/base.mako b/rhodecode/templates/base/base.mako --- a/rhodecode/templates/base/base.mako +++ b/rhodecode/templates/base/base.mako @@ -90,7 +90,7 @@
%for dt, dd, title, show_items in elements:
${dt}:
-
+
%if callable(dd): ## allow lazy evaluation of elements ${dd()} @@ -134,7 +134,7 @@ <%def name="gravatar_with_user(contact, size=16, show_disabled=False)"> <% email = h.email_or_none(contact) %> -
+
${self.gravatar(email, size)} ${h.link_to_user(contact)}
@@ -234,7 +234,7 @@ ## TODO: anderson: ideally it would have a function on the scm_instance "enable_pullrequest() and enable_fork()" %if c.rhodecode_db_repo.repo_type in ['git','hg']:
  • - + %if c.repository_pull_requests: ${c.repository_pull_requests} %endif diff --git a/rhodecode/templates/bookmarks/bookmarks_data.mako b/rhodecode/templates/bookmarks/bookmarks_data.mako --- a/rhodecode/templates/bookmarks/bookmarks_data.mako +++ b/rhodecode/templates/bookmarks/bookmarks_data.mako @@ -10,7 +10,7 @@ <%def name="name(name, files_url)"> - + ${name} @@ -23,11 +23,11 @@ <%def name="author(author)"> - ${h.link_to_user(author)} + ${h.link_to_user(author)} <%def name="commit(message, commit_id, commit_idx)">
    -
    r${commit_idx}:${h.short_id(commit_id)}
    +
    r${commit_idx}:${h.short_id(commit_id)}
    diff --git a/rhodecode/templates/branches/branches_data.mako b/rhodecode/templates/branches/branches_data.mako --- a/rhodecode/templates/branches/branches_data.mako +++ b/rhodecode/templates/branches/branches_data.mako @@ -9,7 +9,7 @@ <%def name="name(name, files_url)"> - + ${name} %if name in c.closed_branches: [closed] @@ -23,11 +23,11 @@ <%def name="author(author)"> - ${h.link_to_user(author)} + ${h.link_to_user(author)} <%def name="commit(message, commit_id, commit_idx)"> diff --git a/rhodecode/templates/changelog/changelog.mako b/rhodecode/templates/changelog/changelog.mako --- a/rhodecode/templates/changelog/changelog.mako +++ b/rhodecode/templates/changelog/changelog.mako @@ -37,7 +37,7 @@ %if c.rhodecode_db_repo.fork: + ${h.shorter(commit.branch)} %endif @@ -108,7 +108,7 @@ ## bookmarks %if h.is_hg(c.rhodecode_repo): %for book in commit.bookmarks: - + ${h.shorter(book)} %endfor @@ -116,7 +116,7 @@ ## tags %for tag in commit.tags: - + ${h.shorter(tag)} %endfor diff --git a/rhodecode/templates/changelog/changelog_file_history.mako b/rhodecode/templates/changelog/changelog_file_history.mako --- a/rhodecode/templates/changelog/changelog_file_history.mako +++ b/rhodecode/templates/changelog/changelog_file_history.mako @@ -14,7 +14,7 @@
    -
    +
    ${h.shorter(cs.message, 75)} diff --git a/rhodecode/templates/changeset/changeset.mako b/rhodecode/templates/changeset/changeset.mako --- a/rhodecode/templates/changeset/changeset.mako +++ b/rhodecode/templates/changeset/changeset.mako @@ -109,20 +109,20 @@ %if h.is_hg(c.rhodecode_repo): %for book in c.commit.bookmarks: - + ${h.shorter(book)} %endfor %endif %for tag in c.commit.tags: - + ${tag} %endfor %if c.commit.branch: - + ${h.shorter(c.commit.branch)} %endif diff --git a/rhodecode/templates/codeblocks/diffs.mako b/rhodecode/templates/codeblocks/diffs.mako --- a/rhodecode/templates/codeblocks/diffs.mako +++ b/rhodecode/templates/codeblocks/diffs.mako @@ -114,7 +114,7 @@ collapse_all = len(diffset.files) > coll diff --git a/rhodecode/templates/codeblocks/source.mako b/rhodecode/templates/codeblocks/source.mako --- a/rhodecode/templates/codeblocks/source.mako +++ b/rhodecode/templates/codeblocks/source.mako @@ -5,6 +5,7 @@ from rhodecode.lib.codeblocks import render_tokenstream # avoid module lookup for performance html_escape = h.html_escape + tooltip = h.tooltip %> ${h.gravatar_with_user(annotation.author, 16) | n}
    ${h.chop_at_smart(annotation.message, '\n', suffix_if_chopped='...')}
    - + diff --git a/rhodecode/templates/data_table/_dt_elements.mako b/rhodecode/templates/data_table/_dt_elements.mako --- a/rhodecode/templates/data_table/_dt_elements.mako +++ b/rhodecode/templates/data_table/_dt_elements.mako @@ -92,22 +92,22 @@ <%def name="rss(name)"> %if c.rhodecode_user.username != h.DEFAULT_USER: - + %else: - + %endif <%def name="atom(name)"> %if c.rhodecode_user.username != h.DEFAULT_USER: - + %else: - + %endif <%def name="user_gravatar(email, size=16)"> -
    +
    ${base.gravatar(email, 16)}
    @@ -134,7 +134,7 @@ %elif repo_state == 'repo_state_created':
    ${_('Created')}
    %else: -
    invalid
    +
    invalid
    %endif
    diff --git a/rhodecode/templates/files/base.mako b/rhodecode/templates/files/base.mako --- a/rhodecode/templates/files/base.mako +++ b/rhodecode/templates/files/base.mako @@ -7,20 +7,20 @@ %if h.is_hg(c.rhodecode_repo): %for book in commit.bookmarks: - + ${h.shorter(book)} %endfor %endif %for tag in commit.tags: - + ${tag} %endfor %if commit.branch: - + ${h.shorter(commit.branch)} %endif diff --git a/rhodecode/templates/files/file_authors_box.mako b/rhodecode/templates/files/file_authors_box.mako --- a/rhodecode/templates/files/file_authors_box.mako +++ b/rhodecode/templates/files/file_authors_box.mako @@ -15,7 +15,7 @@