Commit 42f2bd2f authored by Alexander Philipp Nowosad's avatar Alexander Philipp Nowosad
Browse files

Fix naming

parent fbe555f4
Pipeline #133478 failed with stages
in 8 seconds
<ng-template #addProcessPatternModal let-d="dismiss">
<div class="modal-header">
<h4 class="modal-title">Add Process Pattern</h4>
<h4 class="modal-title">Add Method Pattern</h4>
<button type="button" class="close" aria-label="Close" (click)="d()">
<span aria-hidden="true">&times;</span>
</button>
......@@ -15,7 +15,7 @@
<ng-template #selectProcessPatternModal let-d="dismiss">
<div class="modal-header">
<h4 class="modal-title">Select Process Pattern</h4>
<h4 class="modal-title">Select Method Pattern</h4>
<button type="button" class="close" aria-label="Close" (click)="d()">
<span aria-hidden="true">&times;</span>
</button>
......@@ -64,17 +64,17 @@
<ng-template #deleteProcessPatternModal let-d="dismiss">
<div class="modal-header">
<h4 class="modal-title">Delete Process Pattern {{modalElement.businessObject.name}}</h4>
<h4 class="modal-title">Delete Method Pattern {{modalElement.businessObject.name}}</h4>
<button type="button" class="close" aria-label="Close" (click)="d()">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="alert alert-warning">Deleting the process pattern {{modalElement.businessObject.name}}.</div>
<div class="alert alert-warning">Deleting the Method Pattern {{modalElement.businessObject.name}}.</div>
</div>
<div class="modal-footer">
<button class="btn btn-danger btn-block" (click)="deleteProcessPattern(modalElement); d()">
Delete Process Pattern
Delete Method Pattern
</button>
</div>
</ng-template>
......
......@@ -14,7 +14,7 @@
</div>
<div class="my-3 alert alert-info" role="alert">
Create Business Model Development Processes from process patterns and Method Building Blocks.
Create Business Model Development Processes from Method Patterns and Method Building Blocks.
</div>
<div class="my-3 p-3 bg-white rounded shadow-sm">
......
......@@ -25,7 +25,7 @@ export default class BmProcessContextPadProvider {
controls['bmp.deletePattern'] = {
group: 'edit',
className: 'far fa-trash-alt font-bpmn-adaption',
title: 'Delete Process Pattern',
title: 'Delete Method Pattern',
action: {
click: () => this.eventBus.fire('bmp.deletePattern', element),
}
......@@ -35,7 +35,7 @@ export default class BmProcessContextPadProvider {
controls['bmp.processPatterns'] = {
group: 'edit',
className: 'far fa-plus-square font-bpmn-adaption',
title: 'Add Process Pattern',
title: 'Add Method Pattern',
action: {
click: () => this.eventBus.fire('bmp.processPatterns', element),
}
......@@ -53,7 +53,7 @@ export default class BmProcessContextPadProvider {
controls['bmp.selectMethod'] = {
group: 'edit',
className: 'fas fa-database font-bpmn-adaption',
title: 'Select Method',
title: 'Select Method Building Block',
action: {
click: () => this.eventBus.fire('bmp.selectMethod', element),
}
......@@ -62,7 +62,7 @@ export default class BmProcessContextPadProvider {
controls['bmp.showMethod'] = {
group: 'info',
className: 'fas fa-info-circle font-bpmn-adaption',
title: 'Show method details',
title: 'Show Method Building Block details',
action: {
click: () => this.eventBus.fire('bmp.showMethod', element),
}
......@@ -70,7 +70,7 @@ export default class BmProcessContextPadProvider {
controls['bmp.removeMethod'] = {
group: 'edit',
className: 'far fa-trash-alt font-bpmn-adaption',
title: 'Remove method from task',
title: 'Remove Method Building Block from task',
action: {
click: () => this.eventBus.fire('bmp.removeMethod', element),
}
......@@ -81,7 +81,7 @@ export default class BmProcessContextPadProvider {
controls['bmp.selectPattern'] = {
group: 'edit',
className: 'fas fa-sign-in-alt font-bpmn-adaption',
title: 'Insert process pattern',
title: 'Insert Method Pattern',
action: {
click: () => this.eventBus.fire('bmp.selectPattern', element),
}
......
......@@ -7,11 +7,11 @@
<main *ngIf="processPattern">
<div class="alert alert-info container mt-3" role="alert">
Create a process pattern by using tasks as placeholders for methods.
Call activities are placeholders for both methods and other process patterns.
Create a Method Pattern by using tasks as placeholders for Method Building Blocks.
Call activities are placeholders for both Method Building Blocks and other Method Patterns.
Name processes and activities as you like and define
needed and forbidden types on them.
A later selected method or process pattern must have at least one type
A later selected Method Building Block or Method Pattern must have at least one type
that is in the needed types and must not have any type that is in the forbidden types to be inserted into the
placeholder.
</div>
......@@ -21,7 +21,7 @@
<div class="container">
<div class="my-3 p-3 bg-white rounded shadow-sm">
<h6 class="border-bottom border-gray pb-2 mb-0">Process Pattern Types</h6>
<h6 class="border-bottom border-gray pb-2 mb-0">Types</h6>
<div class="text-muted pt-3">
<app-types-selection-form [types]="processPattern.types"
(submitTypesForm)="updateProcessPatternValue({types: $event.value})"></app-types-selection-form>
......
<div class="nav-scroller bg-white shadow-sm">
<nav class="nav nav-underline">
<a class="nav-link active" [routerLink]="[]">Process Patterns</a>
<a class="nav-link active" [routerLink]="[]">Method Patterns</a>
<a *ngFor="let processPattern of processPatternList" class="nav-link"
[routerLink]="['processview', processPattern._id]">{{processPattern.name}}</a>
</nav>
......@@ -9,13 +9,13 @@
<main role="main" class="container">
<div class="my-3 alert alert-info" role="alert">
Create process patterns to use them for the Business Model Development Processes
Create Method Patterns to use them for the Business Model Development Processes
</div>
<div class="my-3 p-3 bg-white rounded shadow-sm">
<h6 class="border-bottom border-gray pb-2">Process Patterns</h6>
<h6 class="border-bottom border-gray pb-2">Method Patterns</h6>
<div *ngIf="!processPatternList">Loading...</div>
<div *ngIf="processPatternList && processPatternList.length === 0">No process patterns defined.</div>
<div *ngIf="processPatternList && processPatternList.length === 0">No Method Patterns defined.</div>
<ul class="list-group" *ngIf="processPatternList && processPatternList.length > 0">
<li class="d-flex list-group-item justify-content-between align-items-baseline"
*ngFor="let processPattern of processPatternList">
......@@ -34,11 +34,11 @@
</div>
<div class="my-3 p-3 bg-white rounded shadow-sm">
<h6 class="border-bottom border-gray pb-2 mb-0">Add Process Pattern</h6>
<h6 class="border-bottom border-gray pb-2 mb-0">Add Method Pattern</h6>
<div class="text-muted pt-3">
<form [formGroup]="processPatternForm" (ngSubmit)="addProcessPattern(processPatternForm)">
<div class="form-group row">
<label for="name" class="col-sm-4 col-form-label">Process Pattern Name</label>
<label for="name" class="col-sm-4 col-form-label">Method Pattern Name</label>
<div class="col-sm-8">
<input type="text" formControlName="name" class="form-control" id="name">
</div>
......@@ -46,7 +46,7 @@
<div class="form-group row">
<div class="col-sm-12">
<button type="submit" class="btn btn-sm btn-dark btn-block" [disabled]="!processPatternForm.valid">
Add Process Pattern
Add Method Pattern
</button>
</div>
</div>
......
<form [formGroup]="addProcessPatternForm" (ngSubmit)="submitForm()">
<div class="form-group row">
<label for="processPatternSelector" class="col-sm-4 col-form-label">Process Pattern</label>
<label for="processPatternSelector" class="col-sm-4 col-form-label">Method Pattern</label>
<div class="col-sm-8">
<select id="processPatternSelector" formControlName="processPatternId" class="form-control">
<option *ngFor="let processPattern of processPatterns"
[value]="processPattern._id">{{ processPattern.name }}</option>
<option *ngIf="processPatterns.length === 0">No fitting process pattern was found</option>
<option *ngIf="processPatterns.length === 0">No fitting Method Pattern was found</option>
</select>
</div>
</div>
<div class="form-group row">
<div class="col-sm-12">
<button type="submit" class="btn btn-sm btn-dark btn-block" [disabled]="!addProcessPatternForm.valid">
Add Process Pattern
Add Method Pattern
</button>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment