Show More
@@ -55,7 +55,7 b'' | |||||
55 | %> |
|
55 | %> | |
56 |
|
56 | |||
57 | <div class="btn-group btn-group-actions new-file"> |
|
57 | <div class="btn-group btn-group-actions new-file"> | |
58 | <a class="archive_link btn btn-default" data-ext=".zip" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname='{}{}'.format(c.commit.raw_id, '.zip'), _query=_query)}"> |
|
58 | <a class="archive_link btn btn-default" data-ext=".zip" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname='{}{}'.format(c.commit.raw_id, '.zip'), _query=_query)}" rel="nofollow"> | |
59 | <i class="icon-download"></i> |
|
59 | <i class="icon-download"></i> | |
60 | ${label.format('.zip')} |
|
60 | ${label.format('.zip')} | |
61 | </a> |
|
61 | </a> | |
@@ -69,7 +69,7 b'' | |||||
69 | % for a_type, content_type, extension in h.ARCHIVE_SPECS: |
|
69 | % for a_type, content_type, extension in h.ARCHIVE_SPECS: | |
70 | % if extension not in ['.zip']: |
|
70 | % if extension not in ['.zip']: | |
71 | <li> |
|
71 | <li> | |
72 | <a class="archive_link" data-ext="${extension}" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname='{}{}'.format(c.commit.raw_id, extension), _query=_query)}"> |
|
72 | <a class="archive_link" data-ext="${extension}" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname='{}{}'.format(c.commit.raw_id, extension), _query=_query)}" rel="nofollow"> | |
73 | <i class="icon-download"></i> |
|
73 | <i class="icon-download"></i> | |
74 | ${label.format(extension)} |
|
74 | ${label.format(extension)} | |
75 | </a> |
|
75 | </a> |
@@ -189,7 +189,7 b'' | |||||
189 | <div class="enabled pull-left" style="margin-right: 10px"> |
|
189 | <div class="enabled pull-left" style="margin-right: 10px"> | |
190 |
|
190 | |||
191 | <div class="btn-group btn-group-actions"> |
|
191 | <div class="btn-group btn-group-actions"> | |
192 | <a class="archive_link btn btn-small" data-ext=".zip" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname=c.rhodecode_db_repo.landing_ref_name+'.zip', _query={'with_hash': '1'})}"> |
|
192 | <a class="archive_link btn btn-small" data-ext=".zip" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname=c.rhodecode_db_repo.landing_ref_name+'.zip', _query={'with_hash': '1'})}" rel="nofollow"> | |
193 | <i class="icon-download"></i> |
|
193 | <i class="icon-download"></i> | |
194 | ${c.rhodecode_db_repo.landing_ref_name}.zip |
|
194 | ${c.rhodecode_db_repo.landing_ref_name}.zip | |
195 | ## replaced by some JS on select |
|
195 | ## replaced by some JS on select | |
@@ -204,7 +204,7 b'' | |||||
204 | % for a_type, content_type, extension in h.ARCHIVE_SPECS: |
|
204 | % for a_type, content_type, extension in h.ARCHIVE_SPECS: | |
205 | % if extension not in ['.zip']: |
|
205 | % if extension not in ['.zip']: | |
206 | <li> |
|
206 | <li> | |
207 | <a class="archive_link" data-ext="${extension}" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname=c.rhodecode_db_repo.landing_ref_name+extension, _query={'with_hash': '1'})}"> |
|
207 | <a class="archive_link" data-ext="${extension}" href="${h.route_path('repo_archivefile',repo_name=c.rhodecode_db_repo.repo_name, fname=c.rhodecode_db_repo.landing_ref_name+extension, _query={'with_hash': '1'})}" rel="nofollow"> | |
208 | <i class="icon-download"></i> |
|
208 | <i class="icon-download"></i> | |
209 | ${c.rhodecode_db_repo.landing_ref_name+extension} |
|
209 | ${c.rhodecode_db_repo.landing_ref_name+extension} | |
210 | </a> |
|
210 | </a> |
General Comments 0
You need to be logged in to leave comments.
Login now