init web ems all
This commit is contained in:
43
phpMyAdmin/templates/columns_definitions/column_name.twig
Executable file
43
phpMyAdmin/templates/columns_definitions/column_name.twig
Executable file
@@ -0,0 +1,43 @@
|
||||
{% set title = '' %}
|
||||
{% if column_meta['column_status'] is defined %}
|
||||
{% if column_meta['column_status']['isReferenced'] %}
|
||||
{% set title = title ~ 'Referenced by %s.'|trans|format(
|
||||
column_meta['column_status']['references']|join(',')
|
||||
) %}
|
||||
{% endif %}
|
||||
{% if column_meta['column_status']['isForeignKey'] %}
|
||||
{% if title is not empty %}
|
||||
{% set title = title ~ '\n'|raw %}
|
||||
{% endif %}
|
||||
{% set title = title ~ 'Is a foreign key.'|trans %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if title is empty %}
|
||||
{% set title = 'Column'|trans %}
|
||||
{% endif %}
|
||||
|
||||
<input id="field_{{ column_number }}_{{ ci - ci_offset }}"
|
||||
{% if column_meta['column_status'] is defined
|
||||
and not column_meta['column_status']['isEditable'] %}
|
||||
disabled="disabled"
|
||||
{% endif %}
|
||||
type="text"
|
||||
name="field_name[{{ column_number }}]"
|
||||
maxlength="64"
|
||||
class="textfield"
|
||||
title="{{ title }}"
|
||||
size="10"
|
||||
value="{{ column_meta['Field'] is defined ? column_meta['Field'] }}" />
|
||||
|
||||
{% if cfg_relation['centralcolumnswork']
|
||||
and not (column_meta['column_status'] is defined
|
||||
and not column_meta['column_status']['isEditable']) %}
|
||||
<p style="font-size:80%;margin:5px 2px"
|
||||
id="central_columns_{{ column_number }}_{{ ci - ci_offset }}">
|
||||
<a data-maxrows="{{ max_rows }}"
|
||||
href="#"
|
||||
class="central_columns_dialog">
|
||||
{% trans 'Pick from Central Columns' %}
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user