# HG changeset patch # User Milka Kuzminski # Date 2021-04-18 07:27:19 # Node ID 40a39d56c305d222d1c799bdc29fd8ffd08ded09 # Parent c6d250c6a8971455da04fbb5e34bbbe40791ec39 my-account: updated bookmarks UX diff --git a/rhodecode/templates/admin/my_account/my_account_bookmarks.mako b/rhodecode/templates/admin/my_account/my_account_bookmarks.mako --- a/rhodecode/templates/admin/my_account/my_account_bookmarks.mako +++ b/rhodecode/templates/admin/my_account/my_account_bookmarks.mako @@ -26,50 +26,41 @@ -

- ${_('Server URL is available as ${server_url} variable. E.g. Redirect url: ${server_url}/_admin/exception_tracker')} -

-
+
- +

+ ${_('Server URL is available as ${server_url} variable. E.g. Redirect url: ${server_url}/_admin/exception_tracker')} +

-
+
+
+ +
+ % if repo: -
- -
${dt.repo_name(name=repo.repo_name, rtype=repo.repo_type,rstate=None,private=None,archived=False,fork_of=False)} ${h.hidden('bookmark_repo', repo.repo_id)} % elif repo_group: -
- -
${dt.repo_group_name(repo_group.group_name)} ${h.hidden('bookmark_repo_group', repo_group.group_id)} % else: -
- +
+ ${h.hidden('bookmark_repo', class_='bookmark_repo')} +

${_('Available as ${repo_url} e.g. Redirect url: ${repo_url}/changelog')}

- ${h.hidden('bookmark_repo', class_='bookmark_repo')} - OR - ${h.hidden('bookmark_repo_group', class_='bookmark_repo_group')} +
+ ${h.hidden('bookmark_repo_group', class_='bookmark_repo_group')} +

${_('Available as ${repo_group_url} e.g. Redirect url: ${repo_group_url}')}

+
+ % endif
-

- % if repo: - ${_('Available as ${repo_url} e.g. Redirect url: ${repo_url}/changelog')} - % elif repo_group: - ${_('Available as ${repo_group_url} e.g. Redirect url: ${repo_group_url}')} - % else: - ${_('Available as full url variables in redirect url. i.e: ${repo_url}, ${repo_group_url}.')} - % endif -