VBV-512: Anwesenheit erneut bearbeiten
This commit is contained in:
parent
4909b38428
commit
abf83b9fb8
|
|
@ -96,6 +96,10 @@ const loadAttendanceData = async () => {
|
|||
}
|
||||
};
|
||||
|
||||
function editAgain() {
|
||||
state.attendanceSaved = false;
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
log.debug("AttendanceCheckPage mounted");
|
||||
loadAttendanceData();
|
||||
|
|
@ -153,8 +157,11 @@ watch(
|
|||
</div>
|
||||
<div v-else class="self-center">
|
||||
<p class="text-base">
|
||||
{{ $t("Die Anwesenheit wurde definitiv bestätigt.") }}
|
||||
{{ $t("a.Die Anwesenheit wurde definitiv bestätigt") }}
|
||||
</p>
|
||||
<button class="btn-link link" @click="editAgain()">
|
||||
{{ $t("a.Erneut bearbeiten") }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ onUpdated(() => {
|
|||
const anchors = rootElement.querySelectorAll("a");
|
||||
anchors.forEach((anchor: HTMLAnchorElement) => {
|
||||
if (
|
||||
/^https?\:\/\//i.test(anchor.href) &&
|
||||
/^https?:\/\//i.test(anchor.href) &&
|
||||
!anchor.href.includes(window.location.hostname)
|
||||
) {
|
||||
anchor.setAttribute("target", "_blank");
|
||||
|
|
|
|||
Loading…
Reference in New Issue