Homec4science

Show missing Phriction documents as red links, invisible documents with a lock

Authored by June Rhodes <jrhodes@redpointgames.com.au> on Apr 16 2016, 05:02.

Description

Show missing Phriction documents as red links, invisible documents with a lock

Summary: Ref T7691 (errata). This shows links to Phriction documents in red if they're missing, and links to Phriction documents in grey with a lock icon if the user doesn't have the correct permissions to see the document.

Test Plan:
Tested a bunch of different configurations:

[[ ./../ ]] Back to Main Document
[[ ./../subdocument_2]] Mmmm more documents
[[ ./../invisible_document]] Mmmm more documents

[[ ./../ | Explicit Title ]] Back to Main Document
[[ ./../subdocument_2 | Explicit Title ]] Mmmm more documents
[[ ./../invisible_document | Explicit Title ]] Mmmm more documents

[[ ]] Absolute link
[[ subdocument_2 ]] Absolute link
[[ invisible_document ]] Absolute link

[[ | Explicit Title ]] Absolute link
[[ subdocument_2 | Explicit Title ]] Absolute link
[[ invisible_document | Explicit Title ]] Absolute link

Got the expected result:

{F1221106}

Reviewers: epriestley, chad, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Maniphest Tasks: T7691

Differential Revision: https://secure.phabricator.com/D15733

Details

Committed
June Rhodes <jrhodes@redpointgames.com.au>Apr 17 2016, 03:49
Pushed
aubortJan 31 2017, 17:16
Parents
rPHdd1023e5a8f8: Support relative links in Phriction
Branches
Unknown
Tags
Unknown

Event Timeline

June Rhodes <jrhodes@redpointgames.com.au> committed rPH27227b8010ee: Show missing Phriction documents as red links, invisible documents with a lock (authored by June Rhodes <jrhodes@redpointgames.com.au>).Apr 17 2016, 03:49