mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-06-07 02:40:51 +00:00
[FEATURE] Addition of the Fork Me ribbon
This commit is contained in:
parent
cce71525b8
commit
712c8128ef
|
@ -41,7 +41,7 @@ public final class Configuration {
|
|||
|
||||
// Default values
|
||||
config.setProperty("SHOW_SOCIAL_BUTTONS", "off");
|
||||
config.setProperty("USE_GOOGLE_TRACKER", "off");
|
||||
config.setProperty("SHOW_GITHUB_RIBBON", "off");
|
||||
// End of default values
|
||||
|
||||
try {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#PlantUML configuration file
|
||||
#
|
||||
#USE_GOOGLE_TRACKER=on
|
||||
SHOW_GITHUB_RIBBON=on
|
|
@ -46,6 +46,9 @@
|
|||
<c:if test="${cfg['SHOW_SOCIAL_BUTTONS'] eq 'on' }">
|
||||
<%@ include file="resource/socialbuttons1.html" %>
|
||||
</c:if>
|
||||
<c:if test="${cfg['SHOW_GITHUB_RIBBON'] eq 'on' }">
|
||||
<%@ include file="resource/githubribbon.html" %>
|
||||
</c:if>
|
||||
<p>Create your <a href="http://plantuml.sourceforge.net">PlantUML</a> diagrams directly in your browser !</p>
|
||||
</div>
|
||||
<div id="content">
|
||||
|
|
1
src/main/webapp/resource/githubribbon.html
Normal file
1
src/main/webapp/resource/githubribbon.html
Normal file
|
@ -0,0 +1 @@
|
|||
<a href="https://github.com/plantuml/plantuml-server"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://github-camo.global.ssl.fastly.net/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
|
Loading…
Reference in New Issue
Block a user