[common] fixed 'About' page (#189)
This commit is contained in:
parent
be8a06d16b
commit
d1407d6521
|
@ -90,7 +90,7 @@ define([
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="3" align="center">',
|
'<td colspan="3" align="center">',
|
||||||
'<a href="<%= publisherurl %>" target="_blank"><% print(publisherurl.replace(/https?:\\/{2}/, "")) %></a>',
|
'<a href="<%= publisherurl %>" target="_blank"><% print(publisherurl.replace(/https?:\\/{2}/, "").replace(/\\/$/,"")) %></a>',
|
||||||
'</td>',
|
'</td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'</table>',
|
'</table>',
|
||||||
|
@ -143,7 +143,7 @@ define([
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'<tr>',
|
'<tr>',
|
||||||
'<td colspan="3" align="center">',
|
'<td colspan="3" align="center">',
|
||||||
'<label class="asc-about-desc"><% print(publisherurl.replace(/https?:\\/{2}/, "")) %></label>',
|
'<label class="asc-about-desc"><% print(publisherurl.replace(/https?:\\/{2}/, "").replace(/\\/$/,"")) %></label>',
|
||||||
'</td>',
|
'</td>',
|
||||||
'</tr>',
|
'</tr>',
|
||||||
'</table>'
|
'</table>'
|
||||||
|
@ -156,7 +156,7 @@ define([
|
||||||
el.html(this.template({
|
el.html(this.template({
|
||||||
publishername: '{{PUBLISHER_NAME}}',
|
publishername: '{{PUBLISHER_NAME}}',
|
||||||
publisheraddr: '{{PUBLISHER_ADDRESS}}',
|
publisheraddr: '{{PUBLISHER_ADDRESS}}',
|
||||||
publisherurl: /^(?:https?:\/{2})?(\S+)/.exec('{{PUBLISHER_URL}}')[1],
|
publisherurl: '{{PUBLISHER_URL}}',
|
||||||
supportemail: '{{SUPPORT_EMAIL}}',
|
supportemail: '{{SUPPORT_EMAIL}}',
|
||||||
phonenum: '{{PUBLISHER_PHONE}}',
|
phonenum: '{{PUBLISHER_PHONE}}',
|
||||||
scope: this
|
scope: this
|
||||||
|
|
Loading…
Reference in a new issue