diff --git a/editions/tw5.com/tiddlers/system/ViewTemplateSources.tid b/editions/tw5.com/tiddlers/system/EditTemplateSources.tid similarity index 57% rename from editions/tw5.com/tiddlers/system/ViewTemplateSources.tid rename to editions/tw5.com/tiddlers/system/EditTemplateSources.tid index 409fa299d..0ce4e58b5 100644 --- a/editions/tw5.com/tiddlers/system/ViewTemplateSources.tid +++ b/editions/tw5.com/tiddlers/system/EditTemplateSources.tid @@ -1,12 +1,18 @@ -title: $:/editions/tw5.com/ViewTemplate/Sources -tags: not-$:/tags/ViewTemplate +title: $:/editions/tw5.com/EditTemplate/Sources +tags: $:/tags/EditTemplate +list-after: $:/core/ui/EditTemplate/title \define makeGitHubLink() -https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/tw5.com/tiddlers/$(githubLink)$ +https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/tw5.com/tiddlers/$(githubLink)$ +\end +\define innerMakeGitHubLink(linkText) +<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(draftOfTiddler)$}}> +> class="tw-tiddlylink-external" target="_blank">$linkText$ + \end \define outerMakeGitHubLink(linkText) -<$set name="githubLink" value={{$:/config/OriginalTiddlerPaths##$(currentTiddler)$}}> -> class="tw-tiddlylink-external" target="_blank">$linkText$ +<$set name="draftOfTiddler" value={{$(currentTiddler)$!!draft.of}}> +<> \end
diff --git a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid index 87b8f766e..8a49e0349 100644 --- a/editions/tw5.com/tiddlers/system/tw5.com-styles.tid +++ b/editions/tw5.com/tiddlers/system/tw5.com-styles.tid @@ -46,13 +46,14 @@ tags: $:/tags/stylesheet font-size: 0.7em; background: #fcc; padding-left: 5px; + margin-top: 6px; + margin-bottom: 12px; <> } @media (max-width: {{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}) { .tw-improvement-banner { - margin-top: 15px; } } @@ -61,7 +62,6 @@ tags: $:/tags/stylesheet .tw-improvement-banner { margin-right: -23px; - margin-bottom: -20px; margin-left: -53px; }