1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-13 21:34:51 +00:00
TiddlyWiki5/editions/fr-FR/tiddlers/$__ContributionBanner.tid
Jeremy Ruston 32c5490a20 Improve contribution banner
* Make it work with titles with crazy characters
* Hide the banner for tiddlers that didn't originate on GitHub

Fixes #4116 and #4129
2019-07-26 12:46:27 +01:00

20 lines
804 B
Plaintext

created: 20141123120637390
list-after: $:/core/ui/EditTemplate/title
modified: 20141123162403315
tags: $:/tags/EditTemplate
title: $:/ContributionBanner
type: text/vnd.tiddlywiki
\define base-github()
https://github.com/Jermolene/TiddlyWiki5/edit/master/editions/fr-FR/tiddlers/
\end
<$set name="draft-of" value={{{ [<currentTiddler>get[draft.of]] }}}>
<$list filter="[[$:/config/OriginalTiddlerPaths]getindex<draft-of>]" variable="target" >
<div class="tc-improvement-banner">
{{$:/core/images/star-filled}} Pouvez-vous nous aider à améliorer cette documentation ? [[Voyez comment|Improving TiddlyWiki Documentation]] éditer
<a href={{{ [<target>addprefix<base-github>] }}} class="tc-tiddlylink-external" target="_blank" rel="noopener noreferrer">ce tiddler sur ~GitHub</a>
</div>
</$list>
</$set>