in reply to Re: Color for Error Messages
in thread Color for Error Messages

Thanks! Please change strong to span, and error_msg to warning. tia.

Replies are listed 'Best First'.
Re^3: Color for Error Messages
by choroba (Cardinal) on Mar 18, 2022 at 16:42 UTC
    I'm not sure it's a warning. It blocks publishing the node, it's an error.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
      I second this, for me "error" and "warning" are different too.

      edit

      warnings can be ignored, errors not.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        They don't necessarily need separate styles. And this "warning" is presumably serious enough, that making it scream like an error to prevent it being ignored is, I think, something you want.

        So there is an extant style class, error, used in a few places. But again - we don't have any styling for it currently in the themes. Someone should submit a patch to Common Theme CSS.

        Once that patch is applied, giving us actual styling for the error and warning classes, then someone should go through the code and clean up places where styling is being set explicitly, for example:

        <span class="error" style="color: #cc0000;">
        And of course that <strong> stuff should just be completely replaced.

        I reckon we are the only monastery ever to have a dungeon staffed with 16,000 zombies.