mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
dc7e2df20a
Were using old entity naming scheme (*.ss) instead of underscored version which doesn't create a new YML namespace. This means all existing translations should indeed be used. Was already fixed in master, but not in 3.1
22 lines
771 B
Scheme
22 lines
771 B
Scheme
<div class="importSpec" id="SpecFor{$ModelName}">
|
|
<a href="#SpecDetailsFor{$ModelName}" class="detailsLink"><% sprintf(_t('ModelAdmin_ImportSpec_ss.IMPORTSPECLINK', 'Show Specification for %s'),$ModelName) %></a>
|
|
<div class="details" id="SpecDetailsFor{$ModelName}">
|
|
<h4><% sprintf(_t('ModelAdmin_ImportSpec_ss.IMPORTSPECTITLE', 'Specification for %s'),$ModelName) %></h4>
|
|
<h5><% _t('ModelAdmin_ImportSpec_ss.IMPORTSPECFIELDS', 'Database columns') %></h5>
|
|
<% loop $Fields %>
|
|
<dl>
|
|
<dt><em>$Name</em></dt>
|
|
<dd>$Description</dd>
|
|
</dl>
|
|
<% end_loop %>
|
|
|
|
<h5><% _t('ModelAdmin_ImportSpec_ss.IMPORTSPECRELATIONS', 'Relations') %></h5>
|
|
<% loop $Relations %>
|
|
<dl>
|
|
<dt><em>$Name</em></dt>
|
|
<dd>$Description</dd>
|
|
</dl>
|
|
<% end_loop %>
|
|
</div>
|
|
</div>
|