From 854fc6bb032f05461a76ce5df62ddb84eafb0d0d Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Wed, 22 Jun 2011 18:10:20 +0200 Subject: [PATCH] added repository name and revision to the bottom of the repository browser --- .../repository/sonia.repository.repositorybrowser.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.repositorybrowser.js b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.repositorybrowser.js index 5ca2e00502..9fa09d8e45 100644 --- a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.repositorybrowser.js +++ b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.repositorybrowser.js @@ -106,7 +106,17 @@ Sonia.repository.RepositoryBrowser = Ext.extend(Ext.grid.GridPanel, { }] }); + var bbar = [ + '->', + this.repository.name + ]; + + if ( this.revision != null ){ + bbar.push(': ', this.revision); + } + var config = { + bbar: bbar, autoExpandColumn: 'description', title: String.format(this.repositoryBrowserTitleText, this.repository.name), store: browserStore,