From 462911edcfd2fa81a81f55e40b3de3114d2ca97a Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 24 Jun 2011 17:13:54 +0200 Subject: [PATCH] accent commit and source link --- .../js/repository/sonia.repository.extendedinfopanel.js | 1 + .../resources/js/repository/sonia.repository.infopanel.js | 1 + .../src/main/webapp/resources/js/util/sonia.util.link.js | 8 +++++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.extendedinfopanel.js b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.extendedinfopanel.js index 399d08cfdd..0e67d4862a 100644 --- a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.extendedinfopanel.js +++ b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.extendedinfopanel.js @@ -88,6 +88,7 @@ Sonia.repository.ExtendedInfoPanel = Ext.extend(Sonia.repository.InfoPanel,{ createRepositoryBrowserLink: function(){ return { xtype: 'link', + style: 'font-weight: bold', text: this.repositoryBrowserText, handler: this.openRepositoryBrowser, scope: this diff --git a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.infopanel.js b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.infopanel.js index e36a138043..232c861375 100644 --- a/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.infopanel.js +++ b/scm-webapp/src/main/webapp/resources/js/repository/sonia.repository.infopanel.js @@ -141,6 +141,7 @@ Sonia.repository.InfoPanel = Ext.extend(Ext.Panel, { createChangesetViewerLink: function(){ return { xtype: 'link', + style: 'font-weight: bold', text: this.changesetViewerText, handler: this.openChangesetViewer, scope: this diff --git a/scm-webapp/src/main/webapp/resources/js/util/sonia.util.link.js b/scm-webapp/src/main/webapp/resources/js/util/sonia.util.link.js index ef1f82ac13..e9a66e323c 100644 --- a/scm-webapp/src/main/webapp/resources/js/util/sonia.util.link.js +++ b/scm-webapp/src/main/webapp/resources/js/util/sonia.util.link.js @@ -37,7 +37,13 @@ Sonia.util.Link = Ext.extend(Ext.BoxComponent, { constructor: function(config) { config = config || {}; config.xtype = 'box'; - config.autoEl = { tag: 'a', html: config.text, href: '#' }; + config.autoEl = { + tag: 'a', + html: config.text, + href: '#', + style: config.style, + 'class': config['class'] + }; config.listeners = { render: function(c) { c.getEl().on('click', function(){