Skip to content

Commit

Permalink
Add: for Source page add notice and make textarea read-only (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrbaker authored Mar 21, 2021
1 parent 156817a commit aa3b0d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/Source.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@
</ul>
}}
<h3>Source</h3>
<textarea style="width: 100%;" rows=30>{{page}}</textarea>
<div id="edit-locked-notice">
<p>You do not have permission to edit this page, because you are not logged in.</p>
<p>You can view and copy the source of this page.</p>
</div>
<textarea style="width: 100%;" rows=30 readonly="">{{page}}</textarea>
<h3>
Templates
</h3>
Expand Down

0 comments on commit aa3b0d4

Please sign in to comment.