changeset 6688:c0e0ae9c5e64

index: only link from the repository and group names - don't include the various icons
author domruf <dominikruf@gmail.com>
date Thu, 22 Sep 2016 21:05:03 +0200
parents 6f38405ed2f2
children b27f5a64430f
files kallithea/public/css/style.css kallithea/templates/data_table/_dt_elements.html kallithea/templates/index_base.html
diffstat 3 files changed, 5 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Thu May 18 20:52:49 2017 +0200
+++ b/kallithea/public/css/style.css	Thu Sep 22 21:05:03 2016 +0200
@@ -366,14 +366,6 @@
     margin: 0px 1px 0px 3px;
 }
 
-.dt_repo a {
-    text-decoration: none;
-}
-
-.dt_repo .dt_repo_name:hover {
-    text-decoration: underline;
-}
-
 #content #left {
     left: 0;
     width: 280px;
--- a/kallithea/templates/data_table/_dt_elements.html	Thu May 18 20:52:49 2017 +0200
+++ b/kallithea/templates/data_table/_dt_elements.html	Thu Sep 22 21:05:03 2016 +0200
@@ -13,19 +13,16 @@
         return name
     %>
   <div class="dt_repo ${'dt_repo_pending' if rstate == 'repo_state_pending' else ''}">
-    ##NAME
-    <a href="${h.url('edit_repo' if admin else 'summary_home', repo_name=name)}">
-
-    ##TYPE OF REPO
     ${base.repotag(rtype)}
-
-    ##PRIVATE/PUBLIC
     %if private and c.visual.show_private_icon:
       <i class="icon-keyhole-circled" title="${_('Private repository')}"></i>
     %elif not private and c.visual.show_public_icon:
       <i class="icon-globe" title="${_('Public repository')}"></i>
+    %else:
+      <i class="icon-empty"></i>
     %endif
-    <span class="dt_repo_name">${get_name(name)}</span>
+    <a href="${h.url('edit_repo' if admin else 'summary_home', repo_name=name)}">
+        ${get_name(name)}
     </a>
     %if fork_of:
       <a href="${h.url('summary_home',repo_name=fork_of.repo_name)}"><i class="icon-fork"></i></a>
--- a/kallithea/templates/index_base.html	Thu May 18 20:52:49 2017 +0200
+++ b/kallithea/templates/index_base.html	Thu Sep 22 21:05:03 2016 +0200
@@ -49,16 +49,12 @@
                           ##<th class="left">${_('Number of Repositories')}</th>
                       </tr>
                   </thead>
-
-                  ## REPO GROUPS
                   % for gr in c.groups:
                     <tr>
                         <td>
                             <div class="dt_repo">
-                              <a href="${url('repos_group_home',group_name=gr.group_name)}">
                                 <i class="icon-folder"></i>
-                                <span class="dt_repo_name">${gr.name}</span>
-                              </a>
+                                <a href="${url('repos_group_home',group_name=gr.group_name)}">${gr.name}</a>
                             </div>
                         </td>
                         <td>${h.urlify_text(gr.group_description, stylize=c.visual.stylify_metatags)}</td>