1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-12-22 10:59:01 +00:00

Merge pull request #348 from matschaffer/remove-license-message-on-empty-diagram

Move license message below getting started
This commit is contained in:
arnaudroques 2021-03-02 18:00:55 +01:00 committed by GitHub
commit 0f034043df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,9 +63,6 @@ public class PSystemWelcome extends AbstractPSystem {
this.position = position;
strings.add("<b>Welcome to PlantUML!");
strings.add(" ");
strings.add("If you use this software, you accept its license.");
strings.add("(details by typing \"\"license\"\" keyword)");
strings.add(" ");
strings.add("You can start with a simple UML Diagram like:");
strings.add(" ");
strings.add("\"\"Bob->Alice: Hello\"\"");
@ -75,6 +72,9 @@ public class PSystemWelcome extends AbstractPSystem {
strings.add("\"\"class Example\"\"");
strings.add(" ");
strings.add("You will find more information about PlantUML syntax on <u>https://plantuml.com</u>");
strings.add(" ");
strings.add("If you use this software, you accept its license.");
strings.add("(details by typing \"\"license\"\" keyword)");
if (position == GraphicPosition.BACKGROUND_CORNER_BOTTOM_RIGHT) {
strings.add(" ");
strings.add(" ");