snapshot of https://github.com/espocrm/espocrm.git (master, 2026-09-18; blobs > 131072B omitted)
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
Some checks failed
Test / Test on PHP 8.3 (push) Failing after 5s
Test / Test on PHP 8.4 (push) Failing after 4s
Test / Test on PHP 8.5 (push) Failing after 3s
TypeScript static analysis / TypeScript check (push) Failing after 14s
Test Integration on MySQL / Test on PHP 8.3 (push) Failing after 2s
Test Integration on MySQL / Test on PHP 8.5 (push) Failing after 0s
Test Integration on PostgreSQL / Test on PHP 8.4 fix (push) Failing after 1s
Test Integration on PostgreSQL / Test on PHP 8.4 master (push) Failing after 1s
This commit is contained in:
38
client/res/templates/fields/phone/detail.tpl
Normal file
38
client/res/templates/fields/phone/detail.tpl
Normal file
@@ -0,0 +1,38 @@
|
||||
{{#if phoneNumberData}}
|
||||
{{#each phoneNumberData}}
|
||||
<div>
|
||||
{{#unless invalid}}
|
||||
{{#unless erased}}
|
||||
<a
|
||||
href="tel:{{valueForLink}}"
|
||||
data-phone-number="{{valueForLink}}"
|
||||
data-action="dial"
|
||||
style="display: inline-block;"
|
||||
class="selectable"
|
||||
>
|
||||
{{/unless}}
|
||||
{{/unless}}
|
||||
<span {{#if lineThrough}}style="text-decoration: line-through"{{/if}}>{{phoneNumber}}</span>
|
||||
{{#unless invalid}}
|
||||
{{#unless erased}}
|
||||
</a>
|
||||
{{/unless}}
|
||||
{{/unless}}
|
||||
{{#if type}}
|
||||
<span class="text-muted small">{{translateOption type scope=../scope field=../name}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
{{else}}
|
||||
{{#if value}}
|
||||
{{#if lineThrough}}<s>{{/if}}<a
|
||||
href="tel:{{valueForLink}}"
|
||||
data-phone-number="{{valueForLink}}"
|
||||
data-action="dial"
|
||||
class="selectable"
|
||||
>{{value}}</a>{{#if lineThrough}}</s>{{/if}}
|
||||
{{else}}
|
||||
{{#if valueIsSet}}<span class="none-value">{{translate 'None'}}</span>{{else}}
|
||||
<span class="loading-value"></span>{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user