diff --git a/docs/changelog.rst b/docs/changelog.rst
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -19,6 +19,7 @@ news
into clone url
- fixed #90 whoosh indexer can index chooses repositories passed in command
line
+- added dynamic download links in summary. With quick branch/tag selection
fixes
-----
diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html
--- a/rhodecode/templates/summary/summary.html
+++ b/rhodecode/templates/summary/summary.html
@@ -130,14 +130,14 @@
${h.select('download_options','tip',c.download_options)}
-
%for cnt,archive in enumerate(c.repo_info._get_archives()):
%if cnt >=1:
|
%endif
- ${h.link_to(archive['type'],
+ ${h.link_to(archive['type'],
h.url('files_archive_home',repo_name=c.repo_info.name,
- fname='tip'+archive['extension']),class_="archive_icon")}
+ fname='tip'+archive['extension']),class_="archive_icon")}
%endfor
@@ -153,97 +153,112 @@
-
+
+ for(k in tmpl_links){
+ var s = YUD.get(k+'_link')
+ title_tmpl = "${_('Download %s as %s') % ('__CS_NAME__',archive['type'])}";
+ s.title = title_tmpl.replace('__CS_NAME__',new_cs.text)
+ s.innerHTML = tmpl_links[k].replace('__CS__',new_cs.value);
+ }
+
+ })
+
+