prettier variant and block display

This commit is contained in:
Branislav Stojkovic
2019-02-09 09:47:13 +01:00
parent 6d2e876381
commit 0acca63ccd
6 changed files with 34 additions and 5 deletions
@@ -2592,7 +2592,7 @@ public class Presenter implements IPlugInPort {
variantMap.put(entry.getKey(), templates);
}
for (Template t : entry.getValue()) {
templates.add(new Template(t.getName() + " by " + pkg.getOwner(), t.getValues(), t.getPoints()));
templates.add(new Template(t.getName() + " [" + pkg.getOwner() + "]", t.getValues(), t.getPoints()));
}
}
@@ -2624,7 +2624,7 @@ public class Presenter implements IPlugInPort {
}
for (Map.Entry<String, Collection<IDIYComponent<?>>> entry : pkg.getBlocks().entrySet()) {
blocks.put(entry.getKey() + " by " + pkg.getOwner(), entry.getValue());
blocks.put(entry.getKey() + " [" + pkg.getOwner() + "]", entry.getValue());
}
ConfigurationManager.getInstance().writeValue(BLOCKS_KEY, blocks);