accent commit and source link

This commit is contained in:
Sebastian Sdorra
2011-06-24 17:13:54 +02:00
parent bade42bec4
commit 462911edcf
3 changed files with 9 additions and 1 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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(){