diff options
Diffstat (limited to 'views')
| -rwxr-xr-x | views/event.handlebars | 15 | ||||
| -rwxr-xr-x | views/eventgroup.handlebars | 8 | ||||
| -rwxr-xr-x | views/layouts/main.handlebars | 2 | 
3 files changed, 18 insertions, 7 deletions
diff --git a/views/event.handlebars b/views/event.handlebars index 53ee39c..703c1d4 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"> +  {{t "views.event.currentlyediting" }} +</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">{{ t "views.event.publiclink" }}:</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> {{t "common.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">{{ t "views.event.fediverselink" }}:</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> {{t "common.copy" }} diff --git a/views/eventgroup.handlebars b/views/eventgroup.handlebars index 6dcf555..5fcc6c2 100755 --- a/views/eventgroup.handlebars +++ b/views/eventgroup.handlebars @@ -1,4 +1,9 @@  <main class="event"> +{{#if editingEnabled}} +<div class="event__editing-banner"> +    {{ t "views.event.currentlyediting" }} +</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">{{t "views.event.publiclink" }}:</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> {{t "common.copy" }} diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars index f3b39d4..d2eeeac 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}}  | 
