Ticket #9996 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

"Source" link for published modules that goes nowhere

Reported by: maxwell Owned by: reedstrm
Priority: unprioritized Milestone: Sprint - 2011
Component: Authoring Environment Version: Live
Severity: picky Keywords:
Cc: System Area: Authoring
Primary Skill: Unspecified
Site URL:
Suppress email to reporter: no

Description

In the published-state page of a module in a work area, in the "module status" portlet on the right, there is a link reading "Source" that doesn't go anywhere when you click on it. It should be removed for published-state modules (but present for created/checked out/modified ones).

Attachments

log_action_slot.pt.zip (1.3 KB) - added by me.zniper@… 7 years ago.
Hide the source action if module is at published state (Products.RhaptosSite?)

Change History

Changed 7 years ago by ew2

  • milestone changed from Ticket Triage to Sprint - 2011

Changed 7 years ago by ew2

  • milestone changed from Sprint - 2011 to Ticket Triage

Moving back to triage since there is no time to determine possible fix.

Changed 7 years ago by maxwell

  • milestone changed from Ticket Triage to Sprint - 2011

The fix would require adding a condition to src/Products.RhaptosSite/Products/1RhaptosSite/skins/rhaptos_site/log_action_slot.pt to the view actions that prevents it from outputting the "Source" view action if the state of the module is 'Published'.

Changed 7 years ago by maxwell

That should be: src/Products.RhaptosSite/Products/RhaptosSite/skins/rhaptos_site/log_action_slot.pt

Changed 7 years ago by me.zniper@…

Hide the source action if module is at published state (Products.RhaptosSite?)

Changed 7 years ago by me.zniper@…

Change inside "https://trac.rhaptos.org/trac/rhaptos/attachment/ticket/9996/log_action_slot.pt.zip":

* Add condition for preventing showing the source action if module is at published state

PS: I cannot change the ticket state to "test"

Changed 7 years ago by reedstrm

  • owner changed from ew2 to reedstrm
  • status changed from new to assigned

Changed 7 years ago by ew2

  • status changed from assigned to testing

Fix was checked in. Sending to test.

Changed 7 years ago by ew2

  • status changed from testing to closed
  • resolution set to fixed

When a module is in a published state, the source link is now hidden. This is fixed.

Note: See TracTickets for help on using tickets.