Sha256: aa0c2bb3283dc983c89d5b28ce06d048ef04158d3559a1e6adbf4971c7b5cee3

Contents?: true

Size: 1.19 KB

Versions: 16

Compression:

Stored size: 1.19 KB

Contents

<tr class="<%= cycle('even', 'odd') %>">
  <td class="icon">
    <%= render_icon("translate-2", size: "xl", style: nil) %>
  </td>
  <td>
    <%= language.name %>
  </td>
  <td>
    <%= language.language_code %>
  </td>
  <td>
    <%= language.country_code %>
  </td>
  <td>
    <%= language.code %>
  </td>
  <td>
    <%= language.locale %>
  </td>
  <td>
    <%= language.frontpage_name %>
  </td>
  <td>
    <%= Alchemy::Page.human_layout_name(language.page_layout) %>
  </td>
  <td class="center">
    <%= language.public? ? render_icon(:check) : nil %>
  </td>
  <td class="center">
    <%= language.default? ? render_icon(:check) : nil %>
  </td>
  <td class="tools">
  <%- if can?(:destroy, language) -%>
    <sl-tooltip content="<%= Alchemy.t("Delete") %>">
      <%= delete_button resource_path(language) %>
    </sl-tooltip>
  <%- end -%>
  <%- if can?(:edit, language) -%>
    <sl-tooltip content="<%= Alchemy.t("Edit") %>" placement="top-end">
      <%= link_to_dialog render_icon(:edit),
        alchemy.edit_admin_language_path(language),
        {
          title: Alchemy.t("Edit"),
          size: "430x415"
        },
        class: "icon_button" %>
    </sl-tooltip>
  <%- end -%>
  </td>
</tr>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
alchemy_cms-7.1.12 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.11 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.10 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.9 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.8 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.7 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.6 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.5 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.4 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.3 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.2 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.1 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.0 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.0.pre.rc1 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.0.pre.b2 app/views/alchemy/admin/languages/_language.html.erb
alchemy_cms-7.1.0.pre.b1 app/views/alchemy/admin/languages/_language.html.erb