Add separation between news items

[?]
May 7, 2013, 3:04 PM
MXV4GAMBGADVS4CCLV2BCDRWJMGEAKMZCCQHPO7PHG4RW662IFMAC

Dependencies

  • [2] 3ZAJ2ZRP Use popovers for the product list help/details
  • [3] 3PNG7NIB Remove trailing whitespace
  • [4] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [5] 4KMXLCBX Remove close button on news items since it's not persistent, so kinda useless
  • [6] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [7] ZWCTAZGL added newsitems, added some admin options to clear various caches.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] S5GCSCNS Update bootstrap to 2.3.1

Change contents

  • replacement in src/root/overview.tt at line 5
    [3.10861][3.7597:7632](),[3.7685][3.10887:10976](),[3.10887][3.10887:10976](),[3.10976][3.31137:31259](),[3.31259][3.7809:7861](),[3.7809][3.7809:7861](),[3.7861][3.11131:11160](),[3.11131][3.11131:11160]()
    <div class="alert alert-info">
    [% FOREACH i IN newsItems %]
    [% contents = String.new(i.contents) %]
    <h4 class="alert-heading">[% INCLUDE renderDateTime timestamp=i.createtime %] by [% i.author.fullname %]</h4>
    [% contents.replace('\n','<br />\n') %]
    [% END %]
    </div>
    [3.10861]
    [3.11160]
    <div class="alert alert-info">
    [% FOREACH i IN newsItems %]
    <div class="news-item">
    [% contents = String.new(i.contents) %]
    <h4 class="alert-heading">[% INCLUDE renderDateTime timestamp=i.createtime %] by [% i.author.fullname %]</h4>
    [% contents.replace('\n','<br />\n') %]
    </div>
    [% END %]
    </div>
  • edit in src/root/static/css/hydra.css at line 85
    [2.1789]
    [10.296]
    }
    div.news-item:not(:first-child) {
    margin-top: 1em;