Example #1
0
    ?>
      </div>
      <div class="col-md-1">
        <span class="roadmap-blue-label" style="background-color: <?php 
    echo $roadmapDecision->getDecision()->getStatusColor();
    ?>
;"><?php 
    echo $roadmapDecision->getDecision()->getStatus();
    ?>
</span>
      </div>
    </div>

    <div class="row" style="margin-top: 15px;">
      <div class="col-md-8"><?php 
    echo sfOutputEscaperGetterDecorator::unescape($roadmapDecision->getDecision()->getObjective());
    ?>
</div>
      <div class="col-md-4 pull-right">
        <?php 
    foreach ($roadmapDecision->getDecision()->getTagDecision() as $tagDecision) {
        ?>
          <span class="tag label label-info"><?php 
        echo $tagDecision->getTag()->getName();
        ?>
</span>
        <?php 
    }
    ?>
      </div>
    </div>
 /**
  * Constructor.
  *
  * @see sfOutputEscaper
  */
 public function __construct($escapingMethod, $value)
 {
     parent::__construct($escapingMethod, $value);
     $this->count = count($this->value);
 }
Example #3
0
<?php

use_helper('Date', 'Number');
use_javascript('treso-transactions-graphisme.js');
?>
<script type="text/javascript">
    var compte_location = '<?php 
echo url_for('transaction_compte', $compte);
?>
';
</script>

<h1 style="float:left;">Transactions du compte <?php 
echo sfOutputEscaperGetterDecorator::unescape($chooser->render('compte_chooser', $compte->getPrimaryKey()));
?>
</h1>

<div style="float:right;">
  <a href="<?php 
echo url_for('transaction_new_with_compte', $compte);
?>
" class="btn btn-success"><i class="icon-plus icon-white"></i>&nbsp;&nbsp;Nouvelle transaction</a>
<a href="<?php 
echo url_for('transaction_pdf', $compte);
?>
" class="btn btn-primary"><i class="icon-share-alt icon-white"></i>&nbsp;&nbsp;Export pdf</a>
</div>

<div style="clear:both; text-align:center;">
    <strong><?php 
echo "Actuel  " . format_currency($compte->getSoldeActuel(), 'โ‚ฌ', 'fr');