Opened 11 years ago
Last modified 8 years ago
#208 closed defect (FIXED)
If there are no next and previous media, the navigation buttons should not appear
Reported by: | Jef van Schendel | Owned by: | Caleb Davis |
---|---|---|---|
Priority: | minor | Milestone: | 0.0.5 |
Component: | programming | Keywords: | |
Cc: | Parent Tickets: |
Description
Speaks for itself. If you only have one piece of media for whatever reason, the navigation still shows up. But both of the buttons are disabled, so they may just as well be gone completely. I have no idea how hard this is to do though. Attached is a screenshot.
Subtickets
Attachments (1)
Change History (8)
Changed 11 years ago by
Attachment: | Screenshot-16.png added |
---|
comment:1 Changed 11 years ago by
Typo in the ticket title: "not disappear" should of course be "not appear".
comment:2 Changed 11 years ago by
Owner: | set to Caleb Davis |
---|---|
Status: | New → Feedback |
Jef, like this? .. raw:: html <del> [https://gitorious.org/\ :sub:`cfdv/mediagoblin/cfdvs-mediagoblin/commit/e3df834a8a22a45ba77940efbd083c7d5a23764e](https://gitorious.org/`\ cfdv/mediagoblin/cfdvs-mediagoblin/commit/e3df834a8a22a45ba77940efbd083c7d5a23764e) .. raw:: html </del> EDIT: Chris pointed out you didn't want the Xs to go away completely, just in the case where the user had one media item only. Oops! How about this one? [https://gitorious.org/\ :sub:`cfdv/mediagoblin/cfdvs-mediagoblin/commit/0a100476b24d81355342cae5320e1a5a6c83014d](https://gitorious.org/`\ cfdv/mediagoblin/cfdvs-mediagoblin/commit/0a100476b24d81355342cae5320e1a5a6c83014d)
comment:4 Changed 11 years ago by
Great, please review for merge. This was a bit of additional template logic.
comment:5 Changed 11 years ago by
Milestone: | → 0.0.5 |
---|
comment:6 Changed 11 years ago by
The original url for this bug was http://bugs.foocorp.net/issues/503 .
Note: See
TracTickets for help on using
tickets.
Screenshot-16.png