From 64865389a02cc33e201049bc57fb0662a8d11157 Mon Sep 17 00:00:00 2001 From: jaden <noreply@example.com> Date: Mon, 12 Jun 2017 16:41:05 +0200 Subject: [PATCH] move alias to beg of group exps panel, closes #46 --- .../static/reports/app/directives/panelExperiments.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beat/web/reports/static/reports/app/directives/panelExperiments.js b/beat/web/reports/static/reports/app/directives/panelExperiments.js index f5520e512..cb42a17df 100644 --- a/beat/web/reports/static/reports/app/directives/panelExperiments.js +++ b/beat/web/reports/static/reports/app/directives/panelExperiments.js @@ -109,9 +109,9 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService', <thead> <tr> <th></th> + <th>Alias</th> <th>Experiment</th> <th>Databases/Protocols</th> - <th>Alias</th> </tr> </thead> <tbody> @@ -127,6 +127,8 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService', </span> </div> </td> + <td ng-if='!isViewmode()'><input ng-model='group.aliases[expName]'></input></td> + <td ng-if='isViewmode()'><span>{{ group.aliases[expName] }}</span></td> <td><a href='{{ getExpUrl(expName) }}'>{{ expName }}</a></td> <td> <span ng-repeat='db in getExpDatabases(expName)'> @@ -134,8 +136,6 @@ angular.module('reportApp').directive("groupPanelExperiments", ['GroupsService', </span> </td> - <td ng-if='!isViewmode()'><input ng-model='group.aliases[expName]'></input></td> - <td ng-if='isViewmode()'><span>{{ group.aliases[expName] }}</span></td> </tr> </tbody> </table> -- GitLab