From 91c73960573a9fe7ee1e1680059ea950b5f78dd6 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Fri, 3 Mar 2017 13:25:06 -0500 Subject: [PATCH] Move tag history to its own top-level tab --- static/js/pages/repo-view.js | 8 +++++++- static/partials/repo-view.html | 14 ++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/static/js/pages/repo-view.js b/static/js/pages/repo-view.js index eb6b0b71e..e66a10248 100644 --- a/static/js/pages/repo-view.js +++ b/static/js/pages/repo-view.js @@ -22,12 +22,14 @@ $scope.logsShown = 0; $scope.buildsShown = 0; $scope.settingsShown = 0; + $scope.historyShown = 0; $scope.viewScope = { 'selectedTags': [], 'repository': null, 'imageLoader': imageLoader, - 'builds': null + 'builds': null, + 'historyFilter': '' }; var buildPollChannel = null; @@ -132,6 +134,10 @@ $scope.buildsShown++; }; + $scope.showHistory = function() { + $scope.historyShown++; + }; + $scope.showSettings = function() { $scope.settingsShown++; }; diff --git a/static/partials/repo-view.html b/static/partials/repo-view.html index fcada0945..1d889cad3 100644 --- a/static/partials/repo-view.html +++ b/static/partials/repo-view.html @@ -47,6 +47,11 @@ + + + + @@ -84,6 +89,15 @@ is-enabled="tagsShown"> + +
+

Tag History

+
+
+