Show More
@@ -380,6 +380,7 b' function registerRCRoutes() {' | |||
|
380 | 380 | pyroutes.register('repo_artifacts_store', '/%(repo_name)s/artifacts/store', ['repo_name']); |
|
381 | 381 | pyroutes.register('repo_artifacts_info', '/%(repo_name)s/artifacts/info/%(uid)s', ['repo_name', 'uid']); |
|
382 | 382 | pyroutes.register('repo_artifacts_delete', '/%(repo_name)s/artifacts/delete/%(uid)s', ['repo_name', 'uid']); |
|
383 | pyroutes.register('repo_artifacts_update', '/%(repo_name)s/artifacts/update/%(uid)s', ['repo_name', 'uid']); | |
|
383 | 384 | pyroutes.register('repo_automation', '/%(repo_name)s/settings/automation', ['repo_name']); |
|
384 | 385 | pyroutes.register('repo_automation_update', '/%(repo_name)s/settings/automation/%(entry_id)s/update', ['repo_name', 'entry_id']); |
|
385 | 386 | pyroutes.register('edit_repo_remote_push', '/%(repo_name)s/settings/remote/push', ['repo_name']); |
@@ -398,11 +398,10 b'' | |||
|
398 | 398 | |
|
399 | 399 | <%def name="repo_artifact_uid(repo_name, file_uid)"> |
|
400 | 400 | <code>${h.shorter(file_uid, size=24, prefix=True)}</code> |
|
401 | <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> | |
|
402 | 401 | </%def> |
|
403 | 402 | |
|
404 | 403 | <%def name="repo_artifact_sha256(artifact_sha256)"> |
|
405 | <div class="code">${h.shorter(artifact_sha256, 12)}<i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${artifact_sha256}" title="${_('Copy the sha256 ({})').format(artifact_sha256)}"></i></div> | |
|
404 | <div class="code">${h.shorter(artifact_sha256, 12)}</div> | |
|
406 | 405 | </%def> |
|
407 | 406 | |
|
408 | 407 | <%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