TACC / tup-ui

React client for TACC User Portal
2 stars 0 forks source link

task/tup-551 hide published text unless editing #395

Closed R-Tomas-Gonzalez closed 9 months ago

R-Tomas-Gonzalez commented 9 months ago

Overview

Removes published verbiage when not editing.

Related

Changes

Simple. When not editing, the published verbiage is hidden. When editing the published verbiage appears.

Testing

  1. On Core-CMS, adjust the TACC_BLOG_SHOW_PUB_TEXT value in the settings_custom.py file
  2. Test that it disappears when false, and appears when true

UI

not editing (TACC_BLOG_SHOW_PUB_TEXT = False)
Screenshot 2023-12-13 at 4 11 40 PM
editing (TACC_BLOG_SHOW_PUB_TEXT = True)
Screenshot 2023-12-13 at 4 12 05 PM

Notes

R-Tomas-Gonzalez commented 9 months ago

Closing this PR.

Check https://github.com/TACC/Core-CMS/pull/771 for updates.

The PR above does what is necessary to meet the demands of this ticket.

Screenshot 2023-12-14 at 12 53 55 PM