diff --git a/src/tags/app.tag b/src/tags/app.tag
index fb9344e..02a8226 100644
--- a/src/tags/app.tag
+++ b/src/tags/app.tag
@@ -85,6 +85,11 @@ along with this program. If not, see .
route('');
}
};
+
+ registryUI.taghistory.go = function(image, tag) {
+ route('/taghistory/image/' + image + '/tag/' + tag);
+ };
+
registryUI.snackbar = function(message, isError) {
registryUI.appTag.tags['material-snackbar'].addToast({'message': message, 'isError': isError}, 15000);
};
diff --git a/src/tags/tag-history-button.tag b/src/tags/tag-history-button.tag
index 3cf7500..ec0d509 100644
--- a/src/tags/tag-history-button.tag
+++ b/src/tags/tag-history-button.tag
@@ -16,14 +16,8 @@ along with this program. If not, see .
-->
+ onclick="registryUI.taghistory.go('{ opts.image.name }', '{ opts.image.tag }');">
history
-
-
\ No newline at end of file