summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rwxr-xr-xviews/event.handlebars15
-rwxr-xr-xviews/eventgroup.handlebars8
-rwxr-xr-xviews/layouts/main.handlebars2
3 files changed, 18 insertions, 7 deletions
diff --git a/views/event.handlebars b/views/event.handlebars
index 1b1022e..c0968a5 100755
--- a/views/event.handlebars
+++ b/views/event.handlebars
@@ -1,4 +1,9 @@
-<main class="event">
+<main class="event{{#if editingEnabled}} event--editing{{/if}}">
+{{#if editingEnabled}}
+<div class="event__editing-banner">
+ You are currently editing this event. Do not share this link!
+</div>
+{{/if}}
{{#if eventHasCoverImage}}
<div class="event-header-image" id="eventImageContainer" style="background-image: url(/events/{{eventData.image}});"></div>
{{else}}
@@ -70,8 +75,9 @@
{{/if}}
<li>
<span class="fa-li">
- <i class="fas fa-fw fa-share-square"></i>
+ <i class="fas fa-fw fa-users"></i>
</span>
+ <span class="text-muted">Public link:</span>
<a class="u-url" href="https://{{domain}}/{{eventData.id}}">https://{{domain}}/{{eventData.id}}</a>
<button type="button" id="copyEventLink" class="eventInformationAction button button--outline-secondary button--sm" data-clipboard-text="https://{{domain}}/{{eventData.id}}">
<i class="fas fa-copy"></i> Copy
@@ -79,9 +85,8 @@
</li>
{{#if isFederated}}
<li>
- <span class="fa-li">
- <i class="fas fa-fw fa-share-square"></i>
- </span>
+ <span class="fa-li fa-fw fediverse-icon"><img src="/images/fediverse-icon.svg" alt="Fediverse Icon" /></span>
+ <span class="text-muted">Fediverse link:</span>
@{{eventData.id}}@{{domain}}
<button type="button" id="copyAPLink" class="eventInformationAction button button--outline-secondary button--sm" data-clipboard-text="@{{eventData.id}}@{{domain}}">
<i class="fas fa-copy"></i> Copy
diff --git a/views/eventgroup.handlebars b/views/eventgroup.handlebars
index 3151aea..dc06543 100755
--- a/views/eventgroup.handlebars
+++ b/views/eventgroup.handlebars
@@ -1,4 +1,9 @@
<main class="event">
+{{#if editingEnabled}}
+<div class="event__editing-banner">
+ You are currently editing this event. Do not share this link!
+</div>
+{{/if}}
{{#if eventGroupHasCoverImage}}
<div class="event-header-image" id="eventImageContainer" style="background-image: url(/events/{{eventGroupData.image}});"></div>
{{else}}
@@ -47,8 +52,9 @@
{{/if}}
<li>
<span class="fa-li">
- <i class="fas fa-share-square"></i>
+ <i class="fas fa-users"></i>
</span>
+ <span class="text-muted">Public link:</span>
<a href="https://{{domain}}/group/{{eventGroupData.id}}">https://{{domain}}/group/{{eventGroupData.id}}</a>
<button type="button" id="copyEventLink" class="eventInformationAction button button--outline-secondary button--sm" data-clipboard-text="https://{{domain}}/group/{{eventGroupData.id}}">
<i class="fas fa-copy"></i> Copy
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars
index e967019..3a3ba02 100755
--- a/views/layouts/main.handlebars
+++ b/views/layouts/main.handlebars
@@ -57,7 +57,7 @@
<header id="sidebar">
{{>sidebar}}
</header>
- <section id="content">
+ <section id="content" {{#if editingEnabled}}class="content--editing"{{/if}}>
{{{body}}}
<footer>
{{#if showInstanceInformation}}