Uploaded image for project: 'Mobile App'
  1. Mobile App
  2. MOBILEAPP-41

Service to display ioslink is displaying google link in the ios link

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0
    • 1.2.0
    • None
    • None
    • 4.5 M8

      /org/ametys/plugins/mobileapp/stylesheets/mobilelinkhelper.xsl
      Please change the link to use ios-store-link instead of android-store-link in the template display-apple-store-link

      <!-- Template used to display download links on IOS -->
          <xsl:template name="display-apple-store-link">
              <xsl:param name="common-service-css-class-name">mobilelink</xsl:param>
              <xsl:param name="height">60px</xsl:param>
              
              <xsl:variable name="imagesPath" select="ametys:pluginResourceURL('mobileapp', 'img/')"/>
                  <a target="_blank" href="{$android-store-link}" rel="noreferrer noopener" class="{$common-service-css-class-name}-market-link {$common-service-css-class-name}-gplay-market-link">
                      <img src="{$imagesPath}appstore.svg" alt="iOS app" style="height:{$height}" />
                  </a>
          </xsl:template> 
      

      by

      <!-- Template used to display download links on IOS -->
          <xsl:template name="display-apple-store-link">
              <xsl:param name="common-service-css-class-name">mobilelink</xsl:param>
              <xsl:param name="height">60px</xsl:param>
              
              <xsl:variable name="imagesPath" select="ametys:pluginResourceURL('mobileapp', 'img/')"/>
                  <a target="_blank" href="{$ios-store-link}" rel="noreferrer noopener" class="{$common-service-css-class-name}-market-link {$common-service-css-class-name}-gplay-market-link">
                      <img src="{$imagesPath}appstore.svg" alt="iOS app" style="height:{$height}" />
                  </a>
          </xsl:template> 
      

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: