Skip to content
Snippets Groups Projects
Commit 32411d64 authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

link experiments to their page

parent 196e8360
No related branches found
No related tags found
1 merge request!223Reports overhaul
......@@ -25,7 +25,7 @@
* Desc:
* displays the experiments panel of the group
*/
angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService', 'ExperimentsService', function(GroupsService, ExperimentsService){
angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService', 'ExperimentsService', 'UrlService', function(GroupsService, ExperimentsService, UrlService){
return {
scope: {
group: '='
......@@ -42,6 +42,7 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService',
;
};
scope.getAnalyzerFromExpName = ExperimentsService.getAnalyzerFromExpName;
scope.getExpUrl = UrlService.getExperimentUrl;
},
template: `
<div id="{{group.name}}-explist-heading" class="panel-heading" role="tab">
......@@ -99,7 +100,7 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService',
</span>
</div>
</td>
<td>{{ expName }}</td>
<td><a href='{{ getExpUrl(expName) }}'>{{ expName }}</a></td>
<td><input ng-disabled='!isEditable' ng-model='group.aliases[expName]'></input></td>
</tr>
</tbody>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment