mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
accent commit and source link
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user