LT-275: Allowing label edition

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-11-15 08:24:30 +01:00
1 parent ae0b03c05c
commit 72339b57a6
3 files changed
+10 -4

No files matched your search

@@ -1,6 +1,6 @@
<template name="measureFlow">
<div class="measure-flow {{#if this.threeColumns}}tree-columns{{/if}} {{instance.state.get}}" style="top:{{choose position.y 0}}px;left:{{choose position.x 0}}px" tabindex="-1">
<button class="btn-add">Add label</button>
<button class="btn-add">{{#if this.measurement.location}}Edit{{else}}Add{{/if}} label</button>
{{#if eq instance.state.get 'selected'}}
<div class="tree-leaf">
<i class="icon-check"></i>