Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Layer group block #1019

Merged
merged 1 commit into from Apr 21, 2016

Conversation

olivierSemet
Copy link
Contributor

Related to #821

@pgiraud
Copy link
Contributor

pgiraud commented Apr 13, 2016

Are you able to provide a live demo?

@olivierSemet
Copy link
Contributor Author

check the live demo

@@ -13,3 +13,6 @@
/examples/simple.min.js
contribs/gmf/fonts/FontAwesome*
contribs/gmf/fonts/fontawesome*

.idea/
tags
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to start with a / to be sure that's come from the root folder (same for fonts)...

@olivierSemet
Copy link
Contributor Author

This PR could be affected by the following PR #1011 since the LayerTree behavior has been modified

@@ -170,20 +157,41 @@ ngeo.LayertreeController = function($scope, $element, $attrs) {
* @type {number}
* @export
*/
this.uid = goog.getUid(this);
this.depth = isRoot ? 0 : this.parent['depth'] + 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?? why changing the declaration order here ?

@fgravin
Copy link
Member

fgravin commented Apr 19, 2016

I think something like that was enough for this one

      <a href="" ng-if="::layertreeCtrl.depth == 1" 
              ng-click="gmfLayertreeCtrl.removeNode(layertreeCtrl.node)">
         <span class="fa fa-trash"></span>
      </a>

@olivierSemet
Copy link
Contributor Author

@fgravin could you check please?

@fgravin
Copy link
Member

fgravin commented Apr 21, 2016

Good thanks.

@fgravin fgravin merged commit a135071 into camptocamp:master Apr 21, 2016
@olivierSemet olivierSemet deleted the PR-remove-layer-group-block branch May 9, 2016 17:30
@sbrunner sbrunner added this to the Older milestone Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants