Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

1.6 KB
Raw Blame
<table <%= placeholder_table_styles %>>
  <tr>
    <%= placeholder_cell("20px", vertical: false) %>
  </tr>
</table>

<table <%= placeholder_table_styles(width: "100%", style: "width:100%;max-width:700px;") %>>
  <tr>
    <%= placeholder_cell("12px", vertical: true) %>
    <td>
      <%= render partial: "mailer/mailer_header",
                 locals: {
                   summary: I18n.t(:"mail.work_packages.mentioned_by", user: @journal.user),
                   button_href: details_notifications_url(@work_package.id, tab: :activity),
                   button_text: I18n.t(:"mail.notification.see_in_center"),
                   user: @user
                 } %>

      <%= render layout: "mailer/notification_row",
                 locals: {
                   work_package: @work_package,
                   unique_reasons: [:mentioned],
                   show_count: false,
                   user: @user
                 } do %>
        <table <%= placeholder_table_styles(width: "100%", style: "width:100%;") %>>
          <tr>
            <td style="<%= placeholder_text_styles %>">
              <%= format_text @journal.notes, only_path: false %>
            </td>
          </tr>
        </table>
      <% end %>

      <%= render partial: "mailer/notification_settings_table",
                 locals: {
                   button_url: my_reminders_url,
                   button_text: I18n.t(:"mail.notification.settings")
                 } %>

      <table>
        <tr>
          <%= placeholder_cell("40px", vertical: false) %>
        </tr>
      </table>
    </td>
    <%= placeholder_cell("12px", vertical: true) %>
  </tr>
</table>