Sha256: f4e9a6729d4568bc5bced2f7051413b9c414a3937f13f86705ffa5cd33516c53

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

<button class="button button__sm button__transparent-secondary mt-6 md:mt-12 md:self-start" data-dialog-open="calendarShare" role=menuitem>
  <%= t(".export_calendar") %>
  <%= icon "download-cloud-2-line", class: "fill-current" %>
</button>

<%= decidim_modal id: "calendarShare", class: "meeting-list__modal" do %>
<div class="meeting-list__modal-title">
  <%= icon "share-forward-2-line", class: "w-6 h-6 text-gray fill-current flex-none" %>
  <div class="space-y-8">
    <h3 id="dialog-title-calendarShare" class="h3"><%= t(".calendar_url") %></h3>

    <div id="dialog-desc-calendarShare" class="meeting-list__modal-text"><%= t(".copy_calendar_url_description") %></div>
    <div class="meeting-list__modal-text"><%= t(".copy_calendar_url_explanation") %></div>

    <div class="meeting-list__modal-input">
      <input id="urlCalendarUrl" type="text" title="<%= t(".calendar_url") %>" value="<%= "#{path}" %>" readonly>
      <button
        data-clipboard-copy="#urlCalendarUrl"
        data-clipboard-copy-label="<%= t(".copy_calendar_url_copied") %>"
        data-clipboard-copy-message="<%= t(".copy_calendar_url_message") %>"
        aria-label="<%= t(".copy_calendar_url_clarification") %>">
        <%= icon "file-copy-line", class: "w-5 h-6 text-secondary fill-current" %>
        <span class="sr-only"><%= t(".copy_calendar_url") %></span>
      </button>
    </div>
  </div>
</div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-meetings-0.29.1 app/views/decidim/meetings/_calendar_modal.html.erb
decidim-meetings-0.28.4 app/views/decidim/meetings/_calendar_modal.html.erb
decidim-meetings-0.29.0 app/views/decidim/meetings/_calendar_modal.html.erb