Admin user can see subject in advance
This commit is contained in:
parent
1d9edfd4b6
commit
12a0777886
@ -93,7 +93,7 @@
|
|||||||
</table>
|
</table>
|
||||||
{/await}
|
{/await}
|
||||||
</div>
|
</div>
|
||||||
{:else if new Date(w.start_availability) > new Date()}
|
{:else if (!$user || !$user.is_admin) && new Date(w.start_availability) > new Date()}
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
<i class="bi bi-stopwatch-fill"></i>
|
<i class="bi bi-stopwatch-fill"></i>
|
||||||
<strong>Ce travail n'est pas encore ouvert.</strong> Revenez plus tard !
|
<strong>Ce travail n'est pas encore ouvert.</strong> Revenez plus tard !
|
||||||
|
Reference in New Issue
Block a user