From 57b0240056027ecb00128535b68608fe07d79351 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 6 May 2019 18:06:00 +0200 Subject: [PATCH] files: restructure the files views for easier restyling --- .../templates/files/file_authors_box.mako | 11 -------- .../templates/files/file_tree_author_box.mako | 12 -------- rhodecode/templates/files/files.mako | 1 + rhodecode/templates/files/files_pjax.mako | 28 ++++++++----------- ...s_detail.mako => files_source_header.mako} | 18 +++++++++++- ...ree_detail.mako => files_tree_header.mako} | 12 ++++++-- 6 files changed, 39 insertions(+), 43 deletions(-) delete mode 100644 rhodecode/templates/files/file_tree_author_box.mako rename rhodecode/templates/files/{files_detail.mako => files_source_header.mako} (77%) rename rhodecode/templates/files/{file_tree_detail.mako => files_tree_header.mako} (76%) diff --git a/rhodecode/templates/files/file_authors_box.mako b/rhodecode/templates/files/file_authors_box.mako index 68884acd..209a9057 100644 --- a/rhodecode/templates/files/file_authors_box.mako +++ b/rhodecode/templates/files/file_authors_box.mako @@ -1,16 +1,5 @@ <%namespace name="base" file="/base/base.mako"/> -
-

- % if c.file_author: - ${_('Last Author')} - % else: - ${h.literal(_ungettext(u'File Author (%s)',u'File Authors (%s)',len(c.authors)) % ('%s' % len(c.authors))) } - % endif -

- ${_('Show All')} -
- % if c.authors: