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:
19
client/res/templates/fields/enum/detail.tpl
Normal file
19
client/res/templates/fields/enum/detail.tpl
Normal file
@@ -0,0 +1,19 @@
|
||||
{{#if isNotEmpty}}
|
||||
{{~#if hasColor~}}
|
||||
<span
|
||||
class="color-icon fas fa-square text-soft"
|
||||
style=" {{#if color}} color: {{color}}; {{/if}} "
|
||||
></span><span style="user-select: none"> </span>
|
||||
{{~/if~}}
|
||||
{{~#if style~}}
|
||||
<span class="{{class}}-{{style}}">
|
||||
{{~/if~}}
|
||||
{{valueTranslated}}
|
||||
{{~#if style~}}</span>{{~/if~}}
|
||||
{{else}}
|
||||
{{~#if valueIsSet~}}
|
||||
<span class="none-value">{{translate 'None'}}</span>
|
||||
{{~else~}}
|
||||
<span class="loading-value"></span>
|
||||
{{~/if~}}
|
||||
{{/if~}}
|
||||
13
client/res/templates/fields/enum/edit.tpl
Normal file
13
client/res/templates/fields/enum/edit.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
<select
|
||||
data-name="{{name}}"
|
||||
class="form-control main-element {{#if nativeSelect}} native-select {{/if}}"
|
||||
>
|
||||
{{options
|
||||
params.options value
|
||||
scope=scope
|
||||
field=name
|
||||
translatedOptions=translatedOptions
|
||||
includeMissingOption=true
|
||||
styleMap=styleMap
|
||||
}}
|
||||
</select>
|
||||
11
client/res/templates/fields/enum/list-link.tpl
Normal file
11
client/res/templates/fields/enum/list-link.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
<a href="#{{scope}}/view/{{model.id}}" class="link" data-id="{{model.id}}" title="{{value}}">
|
||||
{{#if value}}
|
||||
{{#if style}}
|
||||
<span
|
||||
class="{{class}}-{{style}}"
|
||||
title="{{valueTranslated}}"
|
||||
>{{/if}}{{valueTranslated}}{{#if style}}</span>{{/if}}
|
||||
{{else}}
|
||||
{{translate 'None'}}
|
||||
{{/if}}
|
||||
</a>
|
||||
16
client/res/templates/fields/enum/list.tpl
Normal file
16
client/res/templates/fields/enum/list.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
{{#if isNotEmpty~}}
|
||||
{{~#if hasColor~}}
|
||||
<span
|
||||
class="color-icon fas fa-square text-soft"
|
||||
style=" {{#if color}} color: {{color}}; {{/if}} "
|
||||
></span><span style="user-select: none"> </span>
|
||||
{{~/if~}}
|
||||
{{~#if style~}}
|
||||
<span
|
||||
class="{{class}}-{{style}}"
|
||||
title="{{valueTranslated}}"
|
||||
>
|
||||
{{~/if~}}
|
||||
{{valueTranslated}}
|
||||
{{~#if style}}</span>{{~/if~}}
|
||||
{{~/if~}}
|
||||
4
client/res/templates/fields/enum/search.tpl
Normal file
4
client/res/templates/fields/enum/search.tpl
Normal file
@@ -0,0 +1,4 @@
|
||||
<select class="form-control search-type input-sm">
|
||||
{{options searchTypeList searchType field='searchRanges'}}
|
||||
</select>
|
||||
<div class="input-container"><input class="main-element" type="text"></div>
|
||||
Reference in New Issue
Block a user