hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI

This commit is contained in:
Marcin Kuzminski 2019-10-31 17:52:42 +01:00
parent 66317255dd
commit 29038019e8
53 changed files with 5223 additions and 180 deletions

View file

@ -3,7 +3,7 @@
<%
elems = [
(_('Repository ID'), c.rhodecode_db_repo.repo_id, '', ''),
(_('Owner'), lambda:base.gravatar_with_user(c.rhodecode_db_repo.user.email), '', ''),
(_('Owner'), lambda:base.gravatar_with_user(c.rhodecode_db_repo.user.email, tooltip=True), '', ''),
(_('Created on'), h.format_date(c.rhodecode_db_repo.created_on), '', ''),
(_('Updated on'), h.format_date(c.rhodecode_db_repo.updated_on), '', ''),
(_('Cached Commit id'), lambda: h.link_to(c.rhodecode_db_repo.changeset_cache.get('short_id'), h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.rhodecode_db_repo.changeset_cache.get('raw_id'))), '', ''),