ui.bootstrap.contextMenu icon indicating copy to clipboard operation
ui.bootstrap.contextMenu copied to clipboard

Added possibility to replace only the link text by the provided html …

Open dietergeerts opened this issue 9 years ago • 3 comments

…+ added compile option, to support translations.

dietergeerts avatar May 02 '16 13:05 dietergeerts

Seems to look alright. I'll test it out in a little while. In the meantime, please check out some of the minor comments above.

Also, what is the issue related to this?

josetaira avatar May 03 '16 02:05 josetaira

Hi, I restyled the curly braces. The reason I did them that way is to make it more readable, as it was getting cramped with code.

As for what issue: none actually, I didn't made one, but I had some functionality added:

  • We needed to have an icon before a menu item, but inside the original link tag, not completely replacing the item
  • We needed to use translations with the menu items, so compilation is needed (also for the icon)

So for example, I need the following html inside the link tag: <span data-ng-include="'/icons/add.svg'"></span> <span>{{::'ACTION.ADD' | translate}}</span>

dietergeerts avatar May 03 '16 08:05 dietergeerts

This feature definitely must be part of the master brach

dmarafetti avatar May 09 '17 18:05 dmarafetti