Show More
@@ -360,6 +360,7 b' function registerRCRoutes() {' | |||
|
360 | 360 | pyroutes.register('repo_artifacts_list', '/%(repo_name)s/artifacts', ['repo_name']); |
|
361 | 361 | pyroutes.register('repo_artifacts_data', '/%(repo_name)s/artifacts_data', ['repo_name']); |
|
362 | 362 | pyroutes.register('repo_artifacts_new', '/%(repo_name)s/artifacts/new', ['repo_name']); |
|
363 | pyroutes.register('repo_artifacts_get', '/%(repo_name)s/artifacts/download/%(uid)s', ['repo_name', 'uid']); | |
|
363 | 364 | pyroutes.register('repo_artifacts_store', '/%(repo_name)s/artifacts/store', ['repo_name']); |
|
364 | 365 | pyroutes.register('repo_artifacts_delete', '/%(repo_name)s/artifacts/delete/%(uid)s', ['repo_name', 'uid']); |
|
365 | 366 | pyroutes.register('repo_automation', '/%(repo_name)s/settings/automation', ['repo_name']); |
@@ -379,12 +379,12 b'' | |||
|
379 | 379 | |
|
380 | 380 | ## ARTIFACT RENDERERS |
|
381 | 381 | |
|
382 | <%def name="repo_artifact_uid(file_uid)"> | |
|
383 |
<code><a href="${h.route_path(' |
|
|
382 | <%def name="repo_artifact_uid(repo_name, file_uid)"> | |
|
383 | <code><a href="${h.route_path('repo_artifacts_get', repo_name=repo_name, uid=file_uid)}">${file_uid}</a></code> | |
|
384 | 384 | </%def> |
|
385 | 385 | |
|
386 | <%def name="repo_artifact_uid_action(file_uid)"> | |
|
387 |
<i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${h.route_url(' |
|
|
386 | <%def name="repo_artifact_uid_action(repo_name, file_uid)"> | |
|
387 | <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${h.route_url('repo_artifacts_get', repo_name=repo_name, uid=file_uid)}" title="${_('Copy the full url')}"></i> | |
|
388 | 388 | </%def> |
|
389 | 389 | |
|
390 | 390 | <%def name="repo_artifact_actions(repo_name, file_store_id, file_uid)"> |
General Comments 0
You need to be logged in to leave comments.
Login now