Preserve whitespace in string inputs

[?]
Aug 13, 2014, 3:25 PM
LYNCIJINU4B2KX5DH5XMT5WA7BR2VAWLRMEBMKGNWCPGTR7S65TAC

Dependencies

  • [2] JFW656FT Add a flag to enable Persona support
  • [3] X5EOJLNA Allow passing a specific build as an input
  • [4] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [5] Z52T2BC4 Support passing a jobset evaluation as an input
  • [6] TQVKZQUG Use the REST API in the web interface for editing jobsets
  • [7] OX6NYJDV Split viewing and editing a jobset
  • [8] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [*] 3HZY24CX * Make jobsets viewable under
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 186
    [4.40][4.1983:2009](),[4.1983][4.1983:2009]()
    $value = trim $value;
    [4.40]
    [3.0]
    $value = trim $value unless $type eq "string";
  • replacement in src/root/jobset.tt at line 18
    [4.6156][4.10052:10095](),[4.10052][4.10052:10095]()
    "[% HTML.escape(alt.value) %]"
    [4.6156]
    [4.10095]
    "<span class="keep-whitespace">[% HTML.escape(alt.value) %]</span>"
  • edit in src/root/static/css/hydra.css at line 114
    [2.564]
    span.keep-whitespace {
    white-space: pre-wrap;
    }