File tree Expand file tree Collapse file tree 1 file changed +23
-17
lines changed
apps/concierge/src/app/signage Expand file tree Collapse file tree 1 file changed +23
-17
lines changed Original file line number Diff line number Diff line change @@ -60,21 +60,6 @@ import { SignageStateService } from './signage-state.service';
6060 {{ playlist?.name }}
6161 </div>
6262 </h3>
63- @if (!approved()) {
64- <button
65- icon
66- matRipple
67- class="absolute left-2 top-2 !m-0"
68- [disabled]="!is_admin"
69- [matTooltip]="
70- 'APP.CONCIERGE.SIGNAGE_PLAYLISTS_NOT_APPROVED'
71- | translate
72- "
73- (click)="approvePlaylist(playlist)"
74- >
75- <icon class="text-2xl text-warning">warning</icon>
76- </button>
77- }
7863 <button
7964 icon
8065 matRipple
@@ -207,6 +192,26 @@ import { SignageStateService } from './signage-state.service';
207192 </div>
208193 }
209194 </div>
195+ @if (!approved()) {
196+ <button
197+ matRipple
198+ class="flex w-full items-center space-x-2 rounded border-warning bg-warning p-1 text-xs text-warning-content shadow"
199+ [disabled]="!is_admin"
200+ [matTooltip]=""
201+ (click)="approvePlaylist(playlist)"
202+ >
203+ <icon class="ml-1 text-xl text-warning-content"
204+ >warning</icon
205+ >
206+ <div>
207+ {{
208+ 'APP.CONCIERGE.SIGNAGE_PLAYLISTS_NOT_APPROVED'
209+ | translate
210+ }}
211+ </div>
212+ <div class="underline">Click here to approve</div>
213+ </button>
214+ }
210215 </div>
211216 @if (loading()) {
212217 <div
@@ -256,16 +261,17 @@ import { SignageStateService } from './signage-state.service';
256261 >
257262 <icon>drag_handle</icon>
258263 </button>
259- <div
264+ <button
260265 preview
261266 class="h-16 w-[4.5rem] overflow-hidden rounded-lg bg-base-200"
267+ (click)="previewItem(item)"
262268 >
263269 <img
264270 auth
265271 [source]="item.thumbnail_url"
266272 class="h-full w-full object-contain"
267273 />
268- </div >
274+ </button >
269275 <div
270276 class="w-1/2 flex-1 truncate text-base-content"
271277 >
You can’t perform that action at this time.
0 commit comments