Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29605

Href attribute in nuxeo-user-tag/nuxeo-group-tag

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web UI

      Description

      As a PS Team Member with several projets and needs, i was wondering about how to change the link targetted by a nuxeo-user-tag/nuxeo-group-tag and how to change it easily in my elements once or twice in a single page (once -> routing, twice -> ?)

      I ended up with a fork of those elements and the adding of a href attribute. If this one is missing, the routing value is taken as a result.

      _href(user) {

              if (this.href)

      {         *return* *this*.href;         }

              return this.urlFor('user', this._id(user));

      }

      I dont know if it is a quite good solution, please let me know from you.

      Thanks

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: