changeset 1924:d99bc0e286b3 beta

merge with bitbucket
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 19 Jan 2012 20:22:34 +0200
parents 639ec269dc7e (current diff) 0ef681e3ff66 (diff)
children 9d400b585c24
files
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/summary/summary.html	Thu Jan 19 18:26:24 2012 +0200
+++ b/rhodecode/templates/summary/summary.html	Thu Jan 19 20:22:34 2012 +0200
@@ -160,7 +160,8 @@
 			        ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)}
 			             <span id="${'zip_link'}">${h.link_to('Download as zip',h.url('files_archive_home',repo_name=c.dbrepo.repo_name,fname='tip.zip'),class_="archive_icon ui-btn")}</span>
                     <span style="vertical-align: bottom">
-                        <input id="archive_subrepos" type="checkbox" name="subrepos"/> <span class="tooltip" title="${_('Check this to download archive with subrepos')}" >${_('with subrepos')}</span>
+                        <input id="archive_subrepos" type="checkbox" name="subrepos" />
+                        <label for="archive_subrepos" class="tooltip" title="${_('Check this to download archive with subrepos')}" >${_('with subrepos')}</label>
                     </span>
 			    %endif
 			  </div>
@@ -451,10 +452,9 @@
             data[pos].color = i;
             i++;
             if(data[pos].label != ''){
-                choiceContainerTable.innerHTML += '<tr><td>'+
-                '<input type="checkbox" name="' + data[pos].label +'" checked="checked" />'
-                +data[pos].label+
-                '</td></tr>';
+                choiceContainerTable.innerHTML +=
+                    '<tr><td><input type="checkbox" id="id_user_{0}" name="{0}" checked="checked" /> \
+                     <label for="id_user_{0}">{0}</label></td></tr>'.format(data[pos].label);
             }
         }
     }