Skip to content

Commit

Permalink
Renaming action groups
Browse files Browse the repository at this point in the history
  • Loading branch information
djuarezgf committed Dec 23, 2024
1 parent cd649c7 commit def660f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/components/BridgeheadOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<td class="header-cell">{{ header }}</td>
<td v-if="header === 'Bridgeheads'" class="header-summary-cell" style="border-top: 1px solid #dddddd">{{ bridgeheads.length }}</td>
<td v-if="header === 'Votum'" class="header-summary-cell status-cell">{{ getVotumStatus()[0] }} <div class="exist-votum-small green"></div> / {{ getVotumStatus()[1]}}<div class="exist-votum-small red"></div></td>
<td v-if="header === 'User Access Control'" class="header-summary-cell status-cell">{{ getBridgeheadStatus()[0] }} <div class="exist-votum-small green"></div> / {{ getBridgeheadStatus()[1]}}<div class="exist-votum-small red"></div></td>
<td v-if="header === 'User Access'" class="header-summary-cell status-cell">{{ getBridgeheadStatus()[0] }} <div class="exist-votum-small green"></div> / {{ getBridgeheadStatus()[1]}}<div class="exist-votum-small red"></div></td>
<td v-if="header === 'DataSHIELD Status'" class="header-summary-cell status-cell">{{ getDatashieldStatus()[0] }} <div class="exist-votum-small green"></div> / {{ getDatashieldStatus()[1]}}<div class="exist-votum-small red"></div></td>
<td v-if="header === 'Query Status'" class="header-summary-cell status-cell">{{ getQueryStatus()[0] }} <div class="exist-votum-small green"></div> / {{ getQueryStatus()[1]}}<div class="exist-votum-small red"></div></td>
<td v-if="header === 'Teiler'" class="header-summary-cell status-cell">{{ getQueryStatus()[0] }} <div class="exist-votum-small green"></div> / {{ getQueryStatus()[1]}}<div class="exist-votum-small red"></div></td>
<!-- Data for each bridgehead in subsequent columns -->
<td
v-for="(bridgehead, bridgeheadIndex) in bridgeheads.slice(scrollIndex,(scrollIndex + numberBridgeheadShown))"
Expand Down Expand Up @@ -91,7 +91,7 @@ export default class BridgeheadOverview extends Vue {
Action = Action;
DATASHIELD_STATUS_HEADER = 'DataSHIELD Status';
headers = ['Bridgeheads', 'Votum', 'User Access Control', 'Query Status'];
headers = ['Bridgeheads', 'Votum', 'User Access', 'Teiler'];
existsVotums: boolean[] = [];
dataShieldStatusArray: DataShieldProjectStatus[] = [];
selectedBridgehead: number | null = null;
Expand Down
14 changes: 7 additions & 7 deletions src/components/ProjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
<tr>
<th class="status-table-header" scope="col">Data Request Number (DRN)</th>
<th class="status-table-header" scope="col">Project Phase</th>
<th v-if="visibleBridgeheads?.length == 1" class="status-table-header" scope="col">User Access Control</th>
<th v-if="visibleBridgeheads?.length == 1" class="status-table-header" scope="col">Query Status</th>
<th v-if="visibleBridgeheads?.length == 1" class="status-table-header" scope="col">User Access</th>
<th v-if="visibleBridgeheads?.length == 1" class="status-table-header" scope="col">Teiler</th>
<th v-if="visibleBridgeheads?.length == 1 && currentUser" class="status-table-header" scope="col">{{(project?.type == 'DATASHIELD' && project.state != 'FINAL') ? 'Script' : 'Results'}} Acceptance</th>
<th class="status-table-header" v-if="visibleBridgeheads?.length == 1 && dataShieldStatus" scope="col">DataSHIELD Status</th>
<th class="status-table-header"
Expand Down Expand Up @@ -954,7 +954,7 @@ export default defineComponent({
] as ActionButton[]
},
{
label: "Bridgehead Project",
label: "User Access",
button: [
{
module: Module.PROJECT_STATE_MODULE, action: Action.ACCEPT_BRIDGEHEAD_PROJECT_ACTION,
Expand Down Expand Up @@ -991,7 +991,7 @@ export default defineComponent({
] as ActionButton[]
},
{
label: "Project Result",
label: "Result",
button: [
{
module: Module.PROJECT_STATE_MODULE, action: Action.ACCEPT_PROJECT_RESULTS_ACTION,
Expand All @@ -1011,7 +1011,7 @@ export default defineComponent({
] as ActionButton[]
},
{
label: "Project Analysis",
label: "Analysis",
button: [
{
module: Module.PROJECT_STATE_MODULE, action: Action.ACCEPT_PROJECT_ANALYSIS_ACTION,
Expand All @@ -1031,12 +1031,12 @@ export default defineComponent({
] as ActionButton[]
},
{
label: "Export",
label: "Teiler",
button: [
{
module: Module.EXPORT_MODULE, action: Action.SAVE_QUERY_IN_BRIDGEHEAD_ACTION,
refreshContextCallFunction: this.refreshBridgeheadsAndContext as () => void,
text: (this.activeBridgehead?.queryState === 'FINISHED') ? "Resend Query to Bridgehead" : "Send Query to Bridgehead", withMessage: false, cssClass: "btn btn-primary mr-2",
text: (this.activeBridgehead?.queryState === 'FINISHED') ? "Resend Query to Teiler" : "Send Query to Teiler", withMessage: false, cssClass: "btn btn-primary mr-2",
visibilityCondition: this.canShowBridgeheadAdminButtons()
},
{
Expand Down

0 comments on commit def660f

Please sign in to comment.