mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25: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(){
|
createRepositoryBrowserLink: function(){
|
||||||
return {
|
return {
|
||||||
xtype: 'link',
|
xtype: 'link',
|
||||||
|
style: 'font-weight: bold',
|
||||||
text: this.repositoryBrowserText,
|
text: this.repositoryBrowserText,
|
||||||
handler: this.openRepositoryBrowser,
|
handler: this.openRepositoryBrowser,
|
||||||
scope: this
|
scope: this
|
||||||
|
|||||||
@@ -141,6 +141,7 @@ Sonia.repository.InfoPanel = Ext.extend(Ext.Panel, {
|
|||||||
createChangesetViewerLink: function(){
|
createChangesetViewerLink: function(){
|
||||||
return {
|
return {
|
||||||
xtype: 'link',
|
xtype: 'link',
|
||||||
|
style: 'font-weight: bold',
|
||||||
text: this.changesetViewerText,
|
text: this.changesetViewerText,
|
||||||
handler: this.openChangesetViewer,
|
handler: this.openChangesetViewer,
|
||||||
scope: this
|
scope: this
|
||||||
|
|||||||
@@ -37,7 +37,13 @@ Sonia.util.Link = Ext.extend(Ext.BoxComponent, {
|
|||||||
constructor: function(config) {
|
constructor: function(config) {
|
||||||
config = config || {};
|
config = config || {};
|
||||||
config.xtype = 'box';
|
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 = {
|
config.listeners = {
|
||||||
render: function(c) {
|
render: function(c) {
|
||||||
c.getEl().on('click', function(){
|
c.getEl().on('click', function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user