diff --git a/scm-webapp/src/main/webapp/resources/js/sonia.repository.js b/scm-webapp/src/main/webapp/resources/js/sonia.repository.js index b55912a735..21a7ec5c59 100644 --- a/scm-webapp/src/main/webapp/resources/js/sonia.repository.js +++ b/scm-webapp/src/main/webapp/resources/js/sonia.repository.js @@ -216,10 +216,16 @@ Ext.reg('repositoryGrid', Sonia.repository.Grid); Sonia.repository.InfoPanel = Ext.extend(Ext.Panel, { linkTemplate: '{0}', + mailTemplate: '{0}', actionLinkTemplate: '{0}', initComponent: function(){ + var contact = ''; + if ( this.item.contact != null ){ + contact = String.format(this.mailTemplate, this.item.contact); + } + // TODO i18n var items = [{ xtype: 'label', @@ -233,6 +239,12 @@ Sonia.repository.InfoPanel = Ext.extend(Ext.Panel, { },{ xtype: 'box', html: this.getRepositoryTypeText(this.item.type) + },{ + xtype: 'label', + text: 'Contact: ' + },{ + xtype: 'box', + html: contact },{ xtype: 'label', text: 'Url: '