Ejemplo n.º 1
0
    ?>
				<?php 
} else {
    ?>
					<?php 
    echo __('Comment posted by %user%', array('%user%' => '<div style="display: inline;">' . get_component_html('main/userdropdown', array('user' => $comment->getPostedBy(), 'size' => 'small')) . '</div>'));
    ?>
				<?php 
}
?>
			</div>
			<div class="commentdate" id="comment_<?php 
echo $comment->getID();
?>
_date"><?php 
echo tbg_formattime($comment->getPosted(), 12);
?>
</div>
		</div>
		<div class="rounded_box lightyellow borderless shadowed comment_delete" id="comment_delete_confirm_<?php 
echo $comment->getID();
?>
" style="display: none; width: 300px; position: absolute; right: 0; top: 0; padding: 5px; z-index: 20;">
			<h5><?php 
echo __('Really delete this comment?');
?>
</h5>
			<div id="comment_delete_controls_<?php 
echo $comment->getID();
?>
" style="text-align: right; font-size: 12px;">
                <?php 
if ($branchname !== null) {
    ?>
<span class="commitbranch"><?php 
    echo $branchname;
    ?>
</span> <?php 
}
echo __('Revision %rev by %user', array('%rev' => "<a href=" . $link_rev . ">" . $commit->getRevision() . "</a>", '%user' => '<div style="display: inline;">' . get_component_html('main/userdropdown', array('user' => $commit->getAuthor(), 'size' => 'large')) . '</div>'));
?>
            </div>
            <div class="commentdate" id="commit_<?php 
echo $commit->getID();
?>
_date"><?php 
echo tbg_formattime($commit->getDate(), 12);
?>
 - <?php 
echo __('Preceeded by %prev', array('%prev' => "<a href=" . $link_old . ">" . $commit->getPreviousRevision() . "</a>"));
?>
</div>
        </div>

        <div class="commentbody article commit_main" id="commit_<?php 
echo $commit->getID();
?>
_body">
            <pre><?php 
echo $commit->getLog();
?>
</pre>
Ejemplo n.º 3
0
            <?php 
    if ($swimlane->getBoard()->hasIssueFieldValues()) {
        ?>
                <?php 
        foreach ($issue_custom_fields_of_type as $key => $value) {
            ?>
                    <?php 
            if (!$swimlane->getBoard()->hasIssueFieldValue($key)) {
                continue;
            }
            ?>
                    <div class="issue_component issue_date" title="<?php 
            echo \thebuggenie\core\entities\CustomDatatype::getByKey($key)->getDescription();
            ?>
"><?php 
            echo tbg_formattime($value, 14);
            ?>
</div>
                <?php 
        }
        ?>
            <?php 
    }
    ?>
        </div>
    <?php 
}
?>
    <div class="issue_info">
        <?php 
if ($issue->countUserComments()) {