Sha256: 2daf49ac6be57c670317d8a32d7bed4b0d49a034f99249b4d1c2f8c47d09de6b

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

<div class='dashboard ui-accordion ui-widget ui-helper-reset ui-accordion-icons'>
  <h3 class='ui-accordion-header ui-helper-reset ui-state-active ui-corner-top'>
    <span class='ui-icon ui-icon-signal-diag'> </span>
    <%= _("Latest news from the Typo development blog") %>
  </h3>
  <div class='ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active'>
    <% if @typo_links.nil? %>
      <%= _('You have no internet connection') %>
    <% else %>
    <ul>
      <% if @typo_links.size == 0 %>
        <li><%= _("Oh no, nothing new") %></li>
      <% else %>
        <% @typo_links.each do |link| -%>
          <li <%= alternate_class %>>
            <h4><%= link_to("<strong>#{link.title}</strong><br />", link.link) %></h4>
            <small><%= "#{link.date}<br />" %></small>
            <%= link.description.strip_html.slice(0, 400) %>[...]
          </li>
        <% end %>
      <% end %>
    </ul>
  <% end %>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.5 app/views/admin/dashboard/_typo_dev.html.erb
typo-5.4.4 app/views/admin/dashboard/_typo_dev.html.erb