Blame view

framework/admin/templates/Includes/ModelAdmin_ImportSpec.ss 771 Bytes
385d70ca   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <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>