• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Editing setPointValue.html

    Dashboard Designer & Custom AngularJS Pages
    3
    3
    1.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      StephenVDK
      last edited by

      Re: ma-set-point-value display options

      So I'm trying to change setPointValue.html with something simple like changing what the button say's (instead of set), but I can't see where it declares what the button's text says. It doesn't seem to say it in the html or js file that I can tell.

      Thanks,
      Stephen

      1 Reply Last reply Reply Quote 0
      • Will GellerW
        Will Geller
        last edited by Will Geller

        It uses the translation file to pull the text set so you would change this part of setPointValue.html

        from

        <button ng-disabled="!point.pointLocator.settable || result.pending" ng-click="result=point.setValueResult(input.value)" ma-tr="common.set"
              	class="btn btn-default" ng-class="{'set-pending': result.pending, 'set-success': result.success, 'set-error': result.error}"></button>
        

        to

        <button ng-disabled="!point.pointLocator.settable || result.pending" ng-click="result=point.setValueResult(input.value)"
              	class="btn btn-default" ng-class="{'set-pending': result.pending, 'set-success': result.success, 'set-error': result.error}">TEXT</button>
        

        Infinite Automation - UI Developer

        1 Reply Last reply Reply Quote 1
        • Jared WiltshireJ
          Jared Wiltshire
          last edited by

          Alternatively, create a file called i18n_en.properties (for English locale) in overrides/properties and put a line in there with the new text i.e. common.set=Set the point
          This will update the text everywhere in the application.

          Developer at Radix IoT

          1 Reply Last reply Reply Quote 0
          • First post
            Last post