- View/Galaxies -> __(' done

pull/2791/head
Steve Clement 2018-01-10 08:12:39 +01:00
parent 14c4807b84
commit 4e29f11235
4 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<div class="popover_choice select_cluster">
<legend>Select Cluster</legend>
<legend><?php echo __('Select Cluster');?></legend>
<div class="hidden">
<?php
echo $this->Form->create('Galaxy', array('url' => '/galaxies/attachClusterToEvent/' . $event_id, 'style' => 'margin:0px;'));
@ -8,7 +8,7 @@
?>
</div>
<div style="text-align:right;width:100%;" class="select_tag_search">
<input id="clusterFilterField" style="width:100%;border:0px;padding:0px;" placeholder="search clusters..."/>
<input id="clusterFilterField" style="width:100%;border:0px;padding:0px;" placeholder="<?php echo __('search clusters…');?>"/>
</div>
<div class="popover_choice_main" id ="popover_choice_main">
<table style="width:100%;">
@ -23,11 +23,11 @@
endforeach;
?>
<tr style="border-bottom:1px solid black;" class="templateChoiceButton">
<td class="clusterSelectBack" style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" data-event-id="<?php echo h($event_id); ?>" title="Select Galaxy">Back to Galaxy Selection</td>
<td class="clusterSelectBack" style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" data-event-id="<?php echo h($event_id); ?>" title="Select Galaxy"><?php echo __('Back to Galaxy Selection');?></td>
</tr>
</table>
</div>
<div role="button" tabindex="0" aria-label="Cancel" title="Cancel" class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();">Cancel</div>
<div role="button" tabindex="0" aria-label="<?php echo __('Cancel');?>" title="<?php echo __('Cancel');?>" class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();"><?php echo __('Cancel');?></div>
</div>
<script type="text/javascript">
var lookup_table = <?php echo json_encode($lookup_table); ?>;

View File

@ -1,9 +1,9 @@
<div class="popover_choice select_galaxy_source">
<legend>Select Cluster Source</legend>
<legend><?php echo __('Select Cluster Source');?></legend>
<div class="popover_choice_main" id ="popover_choice_main">
<table style="width:100%;">
<tr style="border-bottom:1px solid black;" class="templateChoiceButton">
<td role="button" tabindex="0" aria-label="All clusters" title="All clusters" style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" onClick="getPopup('<?php echo h($event_id); ?>/0', 'galaxies', 'selectCluster');">All Galaxies</td>
<td role="button" tabindex="0" aria-label="<?php echo __('All clusters');?>" title="<?php echo __('All clusters');?>" style="padding-left:10px;padding-right:10px; text-align:center;width:100%;" onClick="getPopup('<?php echo h($event_id); ?>/0', 'galaxies', 'selectCluster');"><?php echo __('All Galaxies');?></td>
</tr>
<?php foreach ($galaxies as $galaxy): ?>
<tr style="border-bottom:1px solid black;" class="templateChoiceButton">
@ -12,7 +12,7 @@
<?php endforeach; ?>
</table>
</div>
<div role="button" tabindex="0" aria-label="Cancel" title="Cancel" class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();">Cancel</div>
<div role="button" tabindex="0" aria-label="<?php echo __('Cancel');?>" title="<?php echo __('Cancel');?>" class="templateChoiceButton templateChoiceButtonLast" onClick="cancelPopoverForm();"><?php echo __('Cancel');?></div>
</div>
<script type="text/javascript">
$(document).ready(function() {

View File

@ -1,5 +1,5 @@
<div class="regexp index">
<h2>Galaxies</h2>
<h2><?php echo __('Galaxies');?></h2>
<div class="pagination">
<ul>
<?php

View File

@ -9,15 +9,15 @@
<?php echo h($galaxy['Galaxy']['name']); ?> galaxy
</h2>
<dl>
<dt>Galaxy ID</dt>
<dt><?php echo __('Galaxy ID');?></dt>
<dd><?php echo h($galaxy['Galaxy']['id']); ?></dd>
<dt>Name</dt>
<dt><?php echo __('Name');?></dt>
<dd><?php echo $galaxy['Galaxy']['name'] ? h($galaxy['Galaxy']['name']) : h($galaxy['Galaxy']['type']); ?></dd>
<dt>Uuid</dt>
<dt><?php echo __('Uuid');?></dt>
<dd><?php echo h($galaxy['Galaxy']['uuid']); ?></dd>
<dt>Description</dt>
<dt><?php echo __('Description');?></dt>
<dd><?php echo h($galaxy['Galaxy']['description']); ?></dd>
<dt>Version</dt>
<dt><?php echo __('Version');?></dt>
<dd><?php echo h($galaxy['Galaxy']['version']); ?></dd>
</dl>