# HG changeset patch # User Liviu # Date 2019-05-17 16:32:11 # Node ID a7c67104a67bf824d270d4909ae9c3446382f6f4 # Parent 8ad2a474554071f4be6903307c519e8bab382993 Changeset view summary box changes and fixed my profile view diff --git a/rhodecode/public/css/code-block.less b/rhodecode/public/css/code-block.less --- a/rhodecode/public/css/code-block.less +++ b/rhodecode/public/css/code-block.less @@ -408,8 +408,8 @@ div.codeblock { overflow: auto; padding: 0px; - border: @border-thickness solid #EAEAEA; - background: #f5f5f5; + border: @border-thickness solid @grey6; + background: @grey7; .border-radius(@border-radius); #remove_gist { diff --git a/rhodecode/public/css/main.less b/rhodecode/public/css/main.less --- a/rhodecode/public/css/main.less +++ b/rhodecode/public/css/main.less @@ -1817,7 +1817,6 @@ BIN_FILENODE = 7 } #changeset_compare_view_content { - margin-bottom: @space; clear: both; width: 100%; box-sizing: border-box; diff --git a/rhodecode/public/css/panels.less b/rhodecode/public/css/panels.less --- a/rhodecode/public/css/panels.less +++ b/rhodecode/public/css/panels.less @@ -47,7 +47,7 @@ min-height: 150px } } - + .panel-footer { background-color: white; padding: .65em @panel-padding .5em; @@ -63,10 +63,6 @@ &.user-profile { float: left; - .panel-heading { - margin-bottom: @padding; - } - .panel-body { &:extend(.clearfix); } diff --git a/rhodecode/public/css/summary.less b/rhodecode/public/css/summary.less --- a/rhodecode/public/css/summary.less +++ b/rhodecode/public/css/summary.less @@ -225,6 +225,7 @@ .right-label-summary { float: left; margin-top: 7px; + width: ~"calc(100% - 160px)"; } } diff --git a/rhodecode/templates/admin/my_account/my_account_profile.mako b/rhodecode/templates/admin/my_account/my_account_profile.mako --- a/rhodecode/templates/admin/my_account/my_account_profile.mako +++ b/rhodecode/templates/admin/my_account/my_account_profile.mako @@ -5,50 +5,60 @@ ${_('Edit')} -
-
-
+
+
+
${_('Photo')}:
-
- %if c.visual.use_gravatar: - ${base.gravatar(c.user.email, 100)} - %else: - ${base.gravatar(c.user.email, 20)} - ${_('Avatars are disabled')} - %endif +
+
+ %if c.visual.use_gravatar: + ${base.gravatar(c.user.email, 100)} + %else: + ${base.gravatar(c.user.email, 20)} + ${_('Avatars are disabled')} + %endif +
-
-
+
+
${_('Username')}:
-
- ${c.user.username} +
+
+ ${c.user.username} +
-
-
+
+
${_('First Name')}:
-
- ${c.user.first_name} +
+
+ ${c.user.first_name} +
-
-
+
+
${_('Last Name')}:
-
- ${c.user.last_name} +
+
+ ${c.user.last_name} +
-
-
+
+
${_('Email')}:
-
- ${c.user.email or _('Missing email, please update your user email address.')} +
+
+ ${c.user.email or _('Missing email, please update your user email address.')} +
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 @@ -28,113 +28,114 @@
-
- +
-
- - ${_('parent')} - - | - - ${_('child')} - -
-
+ +
-
- ${_('Description')}: -
-
-
${h.urlify_commit_message(c.commit.message,c.repo_name)}
- %if c.statuses:
-
- ${_('Commit status')}: -
-
-
-
+
+

${_('Commit status')}:

+
+
+
+
+
[${h.commit_status_lbl(c.statuses[0])}]
-
[${h.commit_status_lbl(c.statuses[0])}]
%endif
-
- ${_('References')}: -
-
-
- - %if c.commit.merge: - - ${_('merge')} - - %endif +
+

${_('References')}:

+
+
+ %if c.commit.merge: + + ${_('merge')} + + %endif - %if h.is_hg(c.rhodecode_repo): - %for book in c.commit.bookmarks: - - ${h.shorter(book)} - - %endfor - %endif + %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 + %for tag in c.commit.tags: + + ${tag} + + %endfor - %if c.commit.branch: - - ${h.shorter(c.commit.branch)} - - %endif + %if c.commit.branch: + + ${h.shorter(c.commit.branch)} + + %endif +
-
+
-
- ${_('Diff options')}: -
-
-
- ${_('Comments')}: -
-
+
+

${_('Comments')}:

+
%if c.comments: ${_ungettext("%d Commit comment", "%d Commit comments", len(c.comments)) % len(c.comments)}, @@ -168,40 +169,42 @@ ${_ungettext("%d Inline Comment", "%d Inline Comments", c.inline_cnt) % c.inline_cnt} %endif
+
-
- ${_('Unresolved TODOs')}: -
-
-
- % if c.unresolved_comments: - % for co in c.unresolved_comments: - ${'' if loop.last else ','} - % endfor - % else: - ${_('There are no unresolved TODOs')} - % endif -
+
+

${_('Unresolved TODOs')}:

+
+
+ % if c.unresolved_comments: + % for co in c.unresolved_comments: + ${'' if loop.last else ','} + % endfor + % else: + ${_('There are no unresolved TODOs')} + % endif +
+
-
+
+
+

${_('Author')}

- + +
+ +
+
<%namespace name="cbdiffs" file="/codeblocks/diffs.mako"/> ${cbdiffs.render_diffset_menu(c.changes[c.commit.raw_id])}