Project

General

Profile

« Previous | Next » 

Revision 47692

Show final part of api id together with the name of the datasource

View differences:

repos.js
49 49
module.directive('ngReponameCell', function() {
50 50
	return {
51 51
		restrict: 'E',
52
		templateUrl: '../resources/html/ngRepoNameCell.html'
52
		templateUrl: '../resources/html/ngRepoNameCell.html',
53
		link: function(scope, elem, attrs) {
54
			var n = scope.row.getProperty('id').lastIndexOf('::');
55
			scope.shortId = scope.row.getProperty('id').substring(n + 2);
56
		}
53 57
	}
54 58
});
55 59

  

Also available in: Unified diff