Skip to content
Snippets Groups Projects
Commit 023f359e authored by Petr Vondrovic's avatar Petr Vondrovic
Browse files

Merge branch '11776-uprava-textu' into 'develop'

#11776 - Upraveny text

See merge request !80
parents 21c15a71 80670c94
No related branches found
No related tags found
2 merge requests!86Finální verze,!80#11776 - Upraveny text
......@@ -278,7 +278,7 @@ export class AppComponent implements OnInit {
// if at least one url matches current url, we will not notify the user
if (!oneUrlFound) {
alert(
'It looks like the imported scenario has been recorded on different site.'
'Warning: It looks like the imported scenario has been recorded on different site. The scenario will still be imported.'
);
}
}
......@@ -298,7 +298,8 @@ export class AppComponent implements OnInit {
protected initExporters(): void {
this.exportItems = [
{
text: 'Readable',
text: 'Text',
title: 'Export to human readable format',
color: 'var(--st-info)',
iconPosition: 'left',
iconType: 'fontawesome',
......@@ -309,6 +310,7 @@ export class AppComponent implements OnInit {
},
{
text: 'JSON',
title: 'Export to JSON format',
color: 'var(--st-info)',
iconPosition: 'left',
iconType: 'fontawesome',
......@@ -324,6 +326,7 @@ export class AppComponent implements OnInit {
},
{
text: 'Import',
title: 'Import scenario from JSON',
color: 'var(--st-info)',
iconPosition: 'left',
iconType: 'fontawesome',
......
......@@ -4,6 +4,7 @@
export interface DropdownItem {
text: string;
size?: string;
title?: string;
iconType?: 'custom' | 'image' | 'fontawesome';
icon?: string;
additionalClasses?: string;
......
......@@ -48,6 +48,7 @@
<ng-container *ngIf="item.ngIf !== false">
<button
class="dropdown-item"
[title]="item.title || ''"
[ngClass]="getNgClass(item)"
[ngStyle]="getAdditionalStyles(item)"
(click)="item.clickHandler ? item.clickHandler() : null">
......
......@@ -18,7 +18,7 @@
<ng-container *ngIf="!isMarkFinalState && !finalStateTarget">
<div class="container content-container">
<p class="instruction">Click on the element you want to select</p>
<p class="waiting">Waiting...</p>
<p class="waiting">Waiting for your click...</p>
</div>
</ng-container>
......
......@@ -13,7 +13,6 @@
(click)="deleteAllActionsDialog()">
</st-custom-button>
<st-custom-button
additionalClasses="detail-button"
icon="fas fa-undo"
iconType="fontawesome"
......
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