Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c64a1c5
Agenda to PDF export style changed
Feb 23, 2026
490c762
Merge branch 'main' of https://github.com/OpenSlides/openslides-client
Feb 26, 2026
86e6a8c
Added field to reference motions, topics, or assignments
Mar 5, 2026
de3ca5b
Added title and link to the editor
Mar 5, 2026
e479b39
Built routes
Mar 6, 2026
772fbbb
Cleanup run
Mar 6, 2026
b7f1315
Revert "Agenda to PDF export style changed"
Mar 6, 2026
8183481
Cleanup and routing fix
Mar 9, 2026
a064b2e
Done requested changes
Mar 12, 2026
e854748
Fix overwriting previous embedded items
Mar 13, 2026
6607771
Changed FormsModule to ReactiveFormsModule and improved logic
Mar 16, 2026
67f752e
added reset button and improved keywords navigation
Mar 18, 2026
e2fd46a
Revert "added reset button and improved keywords navigation"
Mar 18, 2026
55f85b4
Merge branch 'main' of https://github.com/OpenSlides/openslides-clien…
Mar 18, 2026
33905a2
added reset button and improved keywords navigation
Mar 18, 2026
9097231
Keyword navigation done
Mar 27, 2026
cf422ca
Merge branch 'main' of https://github.com/OpenSlides/openslides-clien…
Mar 27, 2026
f752800
Merge remote-tracking branch 'origin' into 5902-InternalReferences
Apr 24, 2026
9d67d7d
Cleanup
Apr 27, 2026
2b686aa
Merge remote-tracking branch 'origin' into 5902-InternalReferences
Apr 27, 2026
343cdb7
Merge main
Sep 25, 2026
bedc1ce
Added clear option for external link. Hide arrow icon in dialog if in…
Sep 25, 2026
2f3da0e
Removed warnings for deprecated attributes
Sep 25, 2026
a8a3f68
Revert meta hash
Sep 25, 2026
f43c587
Advances in set moderation note restriction to embed
Sep 28, 2026
fa500d4
Merge remote-tracking branch 'origin' into 5902-InternalReferences
Oct 14, 2026
c150ebc
Moderation note restriction set
Oct 14, 2026
466476c
Removed warnings, updated to reactive forms
Oct 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2 class="accessibility-h2 accessibility-h2-3 subtitle-text">{{ 'Moderation not
}
@if (isEditing) {
<form [formGroup]="moderatorNoteForm">
<os-editor formControlName="moderator_notes"></os-editor>
<os-editor formControlName="moderator_notes" [isModerationNote]="true"></os-editor>
</form>
}
</mat-card-content>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,128 @@
<h1 mat-dialog-title>{{ 'Insert/edit link' | translate }}</h1>
<div mat-dialog-content>
<div>
<mat-form-field>
<mat-label>{{ 'URL' | translate }}</mat-label>
<input matInput [(ngModel)]="link.href" />
</mat-form-field>
<div
aria-label="Insert/edit external link"
cdkFocusInitial
class="title"
role="button"
tabindex="0"
(click)="toggleArrow('toggleExternalReference')"
(keydown.enter)="toggleArrow('toggleExternalReference')"
(keydown.space)="toggleArrow('toggleExternalReference')"
>
<div class="references">
<h1 aria-label="Insert/edit external link" mat-dialog-title>{{ 'Insert/edit external link' | translate }}</h1>
@if (canEmbed) {
<button #btn class="arrows" matIconButton>
@if (toggleExternalReference) {
<mat-icon>keyboard_arrow_up</mat-icon>
} @else {
<mat-icon>keyboard_arrow_down</mat-icon>
}
</button>
}
</div>

<div>
@if (data.needsText) {
</div>
@if (toggleExternalReference || !canEmbed) {
<div mat-dialog-content [formGroup]="externalLink">
<div class="card-grid">
<mat-form-field>
<mat-label>{{ 'Text to display' | translate }}</mat-label>
<input matInput [(ngModel)]="text" />
<mat-label>{{ 'URL' | translate }}</mat-label>
<input formControlName="extUrl" matInput />
</mat-form-field>
}
</div>
<div>
@if (data.needsText) {
<mat-form-field>
<mat-label>{{ 'Text to display' | translate }}</mat-label>
<input formControlName="extText" matInput />
</mat-form-field>
}
</div>
<div>
<mat-form-field>
<mat-label>{{ 'Open link in ...' | translate }}</mat-label>
<select formControlName="extDisplayMode" matNativeControl>
<option value="_self">{{ 'Current window' | translate }}</option>
<option value="_blank">{{ 'New window' | translate }}</option>
</select>
</mat-form-field>
</div>
<div class="clear-button">
<button aria-label="Reset" color="gray" mat-icon-button (click)="initForm(externalLink)">
<mat-icon>clear</mat-icon>
</button>
</div>
</div>

<div>
<mat-form-field>
<mat-label>{{ 'Open link in ...' | translate }}</mat-label>
<select matNativeControl [(ngModel)]="link.target">
<option translate value="_self">Current window</option>
<option translate value="_blank">New window</option>
</select>
</mat-form-field>
}
@if (canEmbed) {
<div
cdkTrapFocus
class="title"
role="button"
tabindex="0"
(click)="toggleArrow('toggleInternalReference')"
(keydown.enter)="toggleArrow('toggleInternalReference')"
(keydown.space)="toggleArrow('toggleInternalReference')"
>
<div class="references">
<h1 aria-label="Link a topic/motion/assignment" mat-dialog-title>
{{ 'Link a topic/motion/assignment' | translate }}
</h1>
<button class="arrows" matIconButton>
@if (toggleInternalReference) {
<mat-icon>keyboard_arrow_up</mat-icon>
} @else {
<mat-icon>keyboard_arrow_down</mat-icon>
}
</button>
</div>
</div>
</div>
<div mat-dialog-actions>
<button color="accent" mat-button translate [disabled]="!link.href" (click)="save()">Ok</button>
@if (toggleInternalReference) {
<div mat-dialog-content>
<div class="card-grid" [formGroup]="internalRadioOptions">
<mat-radio-group aria-label="Select an option" class="radio-group" formControlName="options">
<mat-radio-button aria-label="Topics" [value]="'Topics'" (click)="changeEditMode()">
{{ this.translate.instant('Topics') }}
</mat-radio-button>
<mat-radio-button aria-label="Motions" [value]="'Motions'" (click)="changeEditMode()">
{{ this.translate.instant('Motions') }}
</mat-radio-button>
<mat-radio-button aria-label="Assignments" [value]="'Assignments'" (click)="changeEditMode()">
{{ this.translate.instant('Assignments') }}
</mat-radio-button>
</mat-radio-group>
<mat-form-field [formGroup]="internalReferenceSelector">
<mat-label>
{{ this.translate.instant(selectedRepoName) }}
</mat-label>
@let selectedFormControl = selectedRepoName + 'FormControl';
@for (currentRepo of [repo ?? agendaItemRepo]; track currentRepo) {
<os-repo-search-selector
[formControlName]="selectedFormControl"
[keepOpen]="currentRepo?.keepOpen"
[repo]="currentRepo"
[subscriptionConfig]="searchSubscriptionConfig[selectedRepoName]"
[wider]="currentRepo?.wider"
></os-repo-search-selector>
}
</mat-form-field>
</div>
<div class="clear-button">
<button aria-label="Reset" color="gray" mat-icon-button (click)="internalReferenceSelector.reset()">
<mat-icon>clear</mat-icon>
</button>
</div>
</div>
}
}

<div class="matDialogActions" mat-dialog-actions>
<button aria-label="Ok" color="accent" mat-button [disabled]="!externalUrl && !this.item" (click)="save()">
{{ 'Ok' | translate }}
</button>
@if (isUpdate) {
<button color="warn" mat-button translate (click)="removeLink()">Remove link</button>
<button aria-label="Remove link" color="warn" mat-button (click)="removeLink()">
{{ 'Remove link ' | translate }}
</button>
}
<button mat-button translate (click)="cancel()">Cancel</button>
<button aria-label="Cancel" mat-button (click)="cancel()">{{ 'Cancel' | translate }}</button>
</div>
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
mat-form-field {
width: 100%;
}

.radio-group {
display: flex;
gap: 15px;
margin-bottom: 5px;
}

.references {
display: flex;

.arrows {
display: flex;
margin-top: 7px;
margin-left: auto;
transform: translateX(-20px);
}
}

.title {
padding: 0;
}

.title:focus {
padding: 0;
outline: none;
box-shadow: none;
& h1 {
text-decoration: underline 2px #ccc;
border-radius: 25px;
}
}

.clear-button {
display: flex;
justify-content: flex-end;
margin-top: -15px;
margin-bottom: -20px;
}
Loading
Loading