changeset 4274:ce7c4addc2ae

"tags": don't shorten identifiers - detail matters
author Mads Kiilerich <madski@unity3d.com>
date Tue, 10 Dec 2013 19:30:37 +0100
parents edc266f04d5f
children cdf89e722ef6
files kallithea/templates/changelog/changelog.html kallithea/templates/changelog/changelog_summary_data.html kallithea/templates/changeset/changeset.html kallithea/templates/changeset/changeset_range.html
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/changelog/changelog.html	Fri Jul 18 18:44:45 2014 +0200
+++ b/kallithea/templates/changelog/changelog.html	Tue Dec 10 19:30:37 2013 +0100
@@ -122,18 +122,18 @@
                                     %if h.is_hg(c.db_repo_scm_instance):
                                         %for book in cs.bookmarks:
                                             <div class="booktag" title="${_('Bookmark %s') % book}">
-                                                ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+                                                ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
                                             </div>
                                         %endfor
                                     %endif
                                     %for tag in cs.tags:
                                         <div class="tagtag" title="${_('Tag %s') % tag}">
-                                            ${h.link_to(h.shorter(tag),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+                                            ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
                                         </div>
                                     %endfor
                                     %if (not c.branch_name) and cs.branch:
                                         <div class="branchtag" title="${_('Branch %s' % cs.branch)}">
-                                            ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
+                                            ${h.link_to(cs.branch,h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
                                         </div>
                                     %endif
                                 </div>
--- a/kallithea/templates/changelog/changelog_summary_data.html	Fri Jul 18 18:44:45 2014 +0200
+++ b/kallithea/templates/changelog/changelog_summary_data.html	Tue Dec 10 19:30:37 2013 +0100
@@ -48,18 +48,18 @@
             %if h.is_hg(c.db_repo_scm_instance):
                 %for book in cs.bookmarks:
                     <div class="booktag" title="${_('Bookmark %s') % book}">
-                        ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+                        ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
                     </div>
                 %endfor
             %endif
             %for tag in cs.tags:
              <div class="tagtag" title="${_('Tag %s') % tag}">
-                 ${h.link_to(h.shorter(tag),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+                 ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
              </div>
             %endfor
             %if cs.branch:
              <div class="branchtag" title="${_('Branch %s' % cs.branch)}">
-                 ${h.link_to(h.shorter(cs.branch),h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
+                 ${h.link_to(cs.branch,h.url('changelog_home',repo_name=c.repo_name,branch=cs.branch))}
              </div>
             %endif
         </td>
--- a/kallithea/templates/changeset/changeset.html	Fri Jul 18 18:44:45 2014 +0200
+++ b/kallithea/templates/changeset/changeset.html	Tue Dec 10 19:30:37 2013 +0100
@@ -91,7 +91,7 @@
                         %if h.is_hg(c.db_repo_scm_instance):
                           %for book in c.changeset.bookmarks:
                           <span class="booktag" title="${_('Bookmark %s') % book}">
-                             ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
+                             ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=c.changeset.raw_id))}
                           </span>
                           %endfor
                         %endif
--- a/kallithea/templates/changeset/changeset_range.html	Fri Jul 18 18:44:45 2014 +0200
+++ b/kallithea/templates/changeset/changeset_range.html	Tue Dec 10 19:30:37 2013 +0100
@@ -91,17 +91,17 @@
                 %if h.is_hg(c.db_repo_scm_instance):
                   %for book in cs.bookmarks:
                   <span class="booktag" title="${_('Bookmark %s') % book}">
-                     ${h.link_to(h.shorter(book),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+                     ${h.link_to(book,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
                   </span>
                   %endfor
                 %endif
                 %for tag in cs.tags:
                     <span class="tagtag" title="${_('Tag %s') % tag}">
-                    ${h.link_to(h.shorter(tag),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</span>
+                    ${h.link_to(tag,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</span>
                 %endfor
                 %if cs.branch:
                 <span class="branchtag" title="${_('Branch %s') % cs.branch}">
-                   ${h.link_to(h.shorter(cs.branch),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
+                   ${h.link_to(cs.branch,h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}
                 </span>
                 %endif
               </span>