mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-01 09:28:22 +01:00
27227b8010
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
48 lines
792 B
CSS
48 lines
792 B
CSS
/**
|
|
* @provides phriction-document-css
|
|
*/
|
|
|
|
.phriction-document-crumbs a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.phriction-revert-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.phriction-revert-table td {
|
|
text-align: center;
|
|
width: 50%;
|
|
padding: 8px 0;
|
|
margin: 0 16px;
|
|
border-top: 1px solid {$lightblueborder};
|
|
}
|
|
|
|
.phriction-history-nav-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.phriction-history-nav-table td {
|
|
width: 50%;
|
|
color: {$darkgreytext};
|
|
padding: 12px;
|
|
background-color: {$lightgreybackground};
|
|
}
|
|
|
|
.phriction-history-nav-table td.nav-next {
|
|
text-align: right;
|
|
}
|
|
|
|
.phui-document-content .phriction-link {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.phui-document-content .phriction-link-missing {
|
|
font-weight: bold;
|
|
color: {$red};
|
|
}
|
|
|
|
.phui-document-content .phriction-link-lock {
|
|
font-weight: bold;
|
|
color: {$greytext};
|
|
}
|