artifacts: update display to not show elements for copy. The info page is now for this.
marcink -
r4089:d5958842 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -380,6 +380,7
380 pyroutes.register('repo_artifacts_store', '/%(repo_name)s/artifacts/store', ['repo_name']);
380 pyroutes.register('repo_artifacts_store', '/%(repo_name)s/artifacts/store', ['repo_name']);
381 pyroutes.register('repo_artifacts_info', '/%(repo_name)s/artifacts/info/%(uid)s', ['repo_name', 'uid']);
381 pyroutes.register('repo_artifacts_info', '/%(repo_name)s/artifacts/info/%(uid)s', ['repo_name', 'uid']);
382 pyroutes.register('repo_artifacts_delete', '/%(repo_name)s/artifacts/delete/%(uid)s', ['repo_name', 'uid']);
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 pyroutes.register('repo_automation', '/%(repo_name)s/settings/automation', ['repo_name']);
384 pyroutes.register('repo_automation', '/%(repo_name)s/settings/automation', ['repo_name']);
384 pyroutes.register('repo_automation_update', '/%(repo_name)s/settings/automation/%(entry_id)s/update', ['repo_name', 'entry_id']);
385 pyroutes.register('repo_automation_update', '/%(repo_name)s/settings/automation/%(entry_id)s/update', ['repo_name', 'entry_id']);
385 pyroutes.register('edit_repo_remote_push', '/%(repo_name)s/settings/remote/push', ['repo_name']);
386 pyroutes.register('edit_repo_remote_push', '/%(repo_name)s/settings/remote/push', ['repo_name']);
@@ -398,11 +398,10
398
398
399 <%def name="repo_artifact_uid(repo_name, file_uid)">
399 <%def name="repo_artifact_uid(repo_name, file_uid)">
400 <code>${h.shorter(file_uid, size=24, prefix=True)}</code>
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 </%def>
401 </%def>
403
402
404 <%def name="repo_artifact_sha256(artifact_sha256)">
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 </%def>
405 </%def>
407
406
408 <%def name="repo_artifact_actions(repo_name, file_store_id, file_uid)">
407 <%def name="repo_artifact_actions(repo_name, file_store_id, file_uid)">
Comments 0
You need to be logged in to leave comments. Login now