# HG changeset patch # User Marcin Kuzminski # Date 2019-11-21 15:01:07 # Node ID d59588425b0f20e4c9de584007e3c43342e51912 # Parent f9644077bc60c1adbf42c02e526937a9cfd530b5 artifacts: update display to not show elements for copy. The info page is now for this. diff --git a/rhodecode/public/js/rhodecode/routes.js b/rhodecode/public/js/rhodecode/routes.js --- a/rhodecode/public/js/rhodecode/routes.js +++ b/rhodecode/public/js/rhodecode/routes.js @@ -380,6 +380,7 @@ function registerRCRoutes() { pyroutes.register('repo_artifacts_store', '/%(repo_name)s/artifacts/store', ['repo_name']); pyroutes.register('repo_artifacts_info', '/%(repo_name)s/artifacts/info/%(uid)s', ['repo_name', 'uid']); pyroutes.register('repo_artifacts_delete', '/%(repo_name)s/artifacts/delete/%(uid)s', ['repo_name', 'uid']); + pyroutes.register('repo_artifacts_update', '/%(repo_name)s/artifacts/update/%(uid)s', ['repo_name', 'uid']); pyroutes.register('repo_automation', '/%(repo_name)s/settings/automation', ['repo_name']); pyroutes.register('repo_automation_update', '/%(repo_name)s/settings/automation/%(entry_id)s/update', ['repo_name', 'entry_id']); pyroutes.register('edit_repo_remote_push', '/%(repo_name)s/settings/remote/push', ['repo_name']); diff --git a/rhodecode/templates/data_table/_dt_elements.mako b/rhodecode/templates/data_table/_dt_elements.mako --- a/rhodecode/templates/data_table/_dt_elements.mako +++ b/rhodecode/templates/data_table/_dt_elements.mako @@ -398,11 +398,10 @@ <%def name="repo_artifact_uid(repo_name, file_uid)"> ${h.shorter(file_uid, size=24, prefix=True)} - <%def name="repo_artifact_sha256(artifact_sha256)"> -
${h.shorter(artifact_sha256, 12)}
+
${h.shorter(artifact_sha256, 12)}
<%def name="repo_artifact_actions(repo_name, file_store_id, file_uid)">