digital-land / submit

0 stars 0 forks source link

Organisation dashboard: Content and design fixes #354

Closed CharliePatterson closed 2 months ago

CharliePatterson commented 2 months ago

Organisation dashboard

Image Image

DilwoarH commented 2 months ago

Regarding:

 "Live" tag shows alongside text showing issues exist / either the tag or the text is wrong

This is the logic that sets the status:

   when (rle.status is null) then 'Not Submitted'
      when (rle.status != '200') then 'Error'
      when (it.severity = 'error') then 'Needs fixing'
      when (it.severity = 'warning') then 'Warning'
      else 'Live'

So if it has a status of200 and has no severity then it's Live.

@CharliePatterson - should we change this logic?