Ejemplo n.º 1
0
          <h3>
            <?php 
    if ($branch['reviewRequest'] == 1) {
        ?>
<span  class="new">new!</span><?php 
    }
    ?>
            <?php 
    echo link_to($branch['name'], 'default/fileList', array('query_string' => 'branch=' . $branch['id']));
    ?>
          </h3><br />
          <span title="<?php 
    echo $branch['lastCommitDesc'];
    ?>
" class="commit_desc tooltip"><?php 
    echo stringUtils::shorten(stringUtils::trimTicketInfos($branch['lastCommitDesc']), 105);
    ?>
</span>
        </td>
        <td class="branch_ago"><?php 
    echo time_ago_in_words($branch['created']);
    ?>
 ago</td>
        <td class="branch_infos">
          <?php 
    echo $branch['total'] . ' files';
    ?>
          <?php 
    if ($branch['added']) {
        ?>
<span class="added tooltip" title="<?php 
Ejemplo n.º 2
0
    if ($file['ReviewRequest'] == 1) {
        ?>
<span class="ricon">i</span><?php 
    }
    ?>
            <?php 
    if (!$file['IsBinary']) {
        ?>
<a class="tooltip" href="<?php 
        echo url_for("default/file");
        ?>
?file=<?php 
        echo $file['Id'];
        ?>
" title="<?php 
        echo stringUtils::trimTicketInfos($file['LastChangeCommitDesc']);
        ?>
"><?php 
    }
    ?>
              <span style="display: none;"><?php 
    echo $pathDir !== "." ? stringUtils::lshorten($pathDir . '/', $maxLength - strlen($filename)) : '';
    ?>
</span><?php 
    echo stringUtils::lshorten($filename, $maxLength);
    ?>
            <?php 
    if ($file['IsBinary']) {
        ?>
</a><?php 
    }
Ejemplo n.º 3
0
    ?>
" />
          <?php 
    echo $file->getsfGuardUser()->getProfile()->__toString();
    ?>
 :
        <?php 
}
?>
      </span>
      <span class="tooltip" title="<?php 
echo stringUtils::trimTicketInfos($file->getLastChangeCommitDesc());
?>
">
        <?php 
echo stringUtils::shorten(stringUtils::trimTicketInfos($file->getLastChangeCommitDesc()), 65);
?>
      </span>
      <ul class="right dropdown-action">
        <li class="dropdown">
          <?php 
if (BranchPeer::OK === $file->getStatus()) {
    ?>
            <?php 
    echo link_to('Ã', 'default/changeStatus', array('query_string' => sprintf('type=file&id=%s&status=%s', $file->getId(), BranchPeer::OK), 'class' => 'dropdown-toggle ricon validate tooltip', 'title' => 'Validated'));
    ?>
            <ul class="dropdown-menu">
              <lI><?php 
    echo link_to('Â', 'default/changeStatus', array('query_string' => sprintf('type=file&id=%s&status=%s', $file->getId(), BranchPeer::KO), 'class' => 'ricon invalidate item-status-action tooltip', 'title' => 'Invalidated'));
    ?>
</lI>