calendar: include Bis: in the appointment-create template
CalDavSync already reads **Bis:** out of the body on push (and writes it on pull), but the in-app template used when the user clicks a calendar day to create an appointment didn't offer the field — forcing the user to type the marker from scratch for multi-day or ranged events. Drop it in next to **Zeit:** so the round-trip is symmetric. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
f2a33a9164
commit
ccba2932c2
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('APP_NAME', 'hyprcrd');
|
define('APP_NAME', 'hyprcrd');
|
||||||
define('APP_VERSION', '1.9.7');
|
define('APP_VERSION', '1.9.8');
|
||||||
|
|
||||||
// Database path — writable directory, outside webroot
|
// Database path — writable directory, outside webroot
|
||||||
// DB_PATH / UPLOAD_DIR can be pre-defined by the Electron router for app isolation
|
// DB_PATH / UPLOAD_DIR can be pre-defined by the Electron router for app isolation
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hyprcrd",
|
"name": "hyprcrd",
|
||||||
"version": "1.9.7",
|
"version": "1.9.8",
|
||||||
"description": "hyprcrd — self-hosted card manager",
|
"description": "hyprcrd — self-hosted card manager",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -493,7 +493,7 @@ function openDayPopup(ds, cellEl) {
|
|||||||
const cfg = calSlug ? getCalConfig(calSlug) : null;
|
const cfg = calSlug ? getCalConfig(calSlug) : null;
|
||||||
const col = cfg?.color || '#fb923c';
|
const col = cfg?.color || '#fb923c';
|
||||||
const calTag = calSlug ? ` #${calSlug}` : '';
|
const calTag = calSlug ? ` #${calSlug}` : '';
|
||||||
const body = `**Zeit:** \n**Ort:** \n**Teilnehmer:** \n\n---\n\n**Notizen:**\n\n\n\n#termin${calTag}`;
|
const body = `**Zeit:** \n**Bis:** \n**Ort:** \n**Teilnehmer:** \n\n---\n\n**Notizen:**\n\n\n\n#termin${calTag}`;
|
||||||
window._openModal({ id: null, title: `${ds} — `, body, color: col, bucket_id: null });
|
window._openModal({ id: null, title: `${ds} — `, body, color: col, bucket_id: null });
|
||||||
} else if (type === 'birthday') {
|
} else if (type === 'birthday') {
|
||||||
const body = `#geburtstag`;
|
const body = `#geburtstag`;
|
||||||
|
|||||||
Reference in new issue
Block a user