Permalink
Browse files

removing useless templates

  • Loading branch information...
1 parent b0423ef commit 9879b36ff442de58afb9ec61b14a896c6d77c11d Filippo committed Jul 11, 2010
View
Binary file not shown.
@@ -1,8 +0,0 @@
-<div class="secondary-navigation">
- <ul>
- <li class="first active"><?php echo link_to( __('Create new issue'), '@new_issue?project_id='.$project_id) ?></li>
- <li><?php echo link_to( __('Issues list'), '@index_issue?project_id='.$project_id) ?></li>
- <li><?php echo link_to( __('Go back to the project dashboard'), '@show_project?id='.$project_id) ?></li>
- </ul>
- <div class="clear"></div>
-</div>
@@ -1,55 +0,0 @@
-<table class="table">
- <tr>
- <th class="first"><?php echo __('Id') ?></th>
- <th><?php echo __('Title') ?></th>
- <th><?php echo __('Status') ?></th>
- <th><?php echo __('Priority') ?></th>
- <th><?php echo __('Milestone') ?></th>
- <th><?php echo __('Assigned to') ?></th>
- <th><?php echo __('Description') ?></th>
- <th><?php echo __('Starting date') ?></th>
- <th><?php echo __('Ending date') ?></th>
- <th><?php echo __('Estimated time') ?></th>
- <th><?php echo __('Tracker') ?></th>
- <th class="last"><?php echo __('Actions') ?></th>
- </tr>
-
- <?php if (count($pager->getResults()) !== false && count($pager->getResults()) == 0): ?>
- <tr class="odd">
- <td class="first">&nbsp;</td>
- <td colspan="9"><?php echo __('No Results') ?></td>
- <td class="last">&nbsp;</td>
- </tr>
- <?php else: ?>
- <?php foreach ($pager->getResults() as $issue): ?>
- <tr class="odd">
- <td><?php echo link_to('#'.$issue->getId(), '@show_issue?project_id='.$issue->project_id.'&issue_id='.$issue->getId()) ?></td>
- <td><?php echo $issue->getTitle() ?></td>
- <td><?php echo $issue->getStatus() ?></td>
- <td><?php echo $issue->getPriority() ?></td>
- <td><?php echo !is_null($issue->milestone_id) ? $issue->getMilestone() : '' ?></td>
- <td>
- <?php if (count($issue->users) > 0): ?>
- <ul>
- <?php foreach ($issue->users as $user): ?>
- <li><?php echo $user; ?></li>
- <?php endforeach; ?>
- </ul>
- <?php endif; ?>
- </td>
- <td><?php echo $issue->getDescription() ?></td>
- <td><?php echo format_date($issue->getStartingDate()) ?></td>
- <td><?php echo format_date($issue->getEndingDate()) ?></td>
- <td><?php echo $issue->getEstimatedTime() ?></td>
- <td><?php echo $issue->getTracker() ?></td>
- <td><?php echo link_to(__('Edit'), '@edit_issue?project_id='.$issue->project_id.'&issue_id='.$issue->getId()) ?> | <?php echo link_to(__('Delete'), '@delete_issue?project_id='.$issue->project_id.'&issue_id='.$issue->getId(), array('confirm' => __('Do you really want to delete this issue?'))) ?></td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
-
- <tr>
- <td></td>
- <td colspan="9"><?php echo pager_navigation($pager, $url) ?></td>
- <td></td>
- </tr>
-</table>
@@ -1,7 +0,0 @@
-<div class="secondary-navigation">
- <ul>
- <li class="first active"><?php echo link_to( __('Create a new logtime'), 'idLogtime/new') ?></li>
- <li><?php echo link_to( __('View all logtime'), '@index_logtime') ?></li>
- </ul>
- <div class="clear"></div>
-</div>
@@ -1,63 +0,0 @@
-<?php slot('title', __('Manage time')) ?>
-
-<div id="content" class="span-23">
- <div class="span-full">
- <div class="title">
- <span>Time</span>
- <?php if(isset($form)): ?>
- <a id="add-log-time"class="button block-green medium-round" href="<?php echo url_for('@new_logtime') ?>">Add</a>
- <?php endif; ?>
- </div>
- <?php if(isset($form)): ?>
- <div id="log-time">
- <?php include_partial('idLogtime/form', array('form' => $form)) ?>
- </div>
- <?php endif; ?>
-
- <?php if (count($pager->getResults()) !== false && count($pager->getResults()) == 0): ?>
- <div class="span-full">
- <p>No results.</p>
- </div>
- <?php else: ?>
- <div class="span-full">
- <div class="menu">
- <div class="span-3">Name</div>
- <div class="span-9">Description</div>
- <div class="span-3">Date</div>
- <div class="span-2">Time</div>
- <div class="span-4 prepend-1 last"><span>Issue/Project</span></div>
- </div>
- <ul class="action time">
- <?php foreach ($pager->getResults() as $log_time): ?>
- <li class="icon-time span-22 last">
- <ul>
- <li class="span-3"><?php echo $log_time->getProfile()->getShortName() ?></li>
- <li class="span-9"><strong>&nbsp;<?php echo $log_time->getComment() ?></strong></li>
- <li class="span-3"><?php echo format_date($log_time->getCreatedAt(), 'MMMM dd yyyy', $sf_user->getCulture()) ?></li>
- <li class="span-2"><?php echo $log_time->getLogTime() ?></li>
- <li class="span-5 last">
- <?php echo link_to($log_time->getIssue(), '@show_issue?project_id='.$log_time->getIssue()->getProjectId().'&issue_id='.$log_time->getIssue()->getId()); ?><br/>
- (<?php echo $log_time->getIssue()->getProject()->getName(); ?> )
- </li>
- <li class="edit-delete">
- <?php if($sf_user->hasCredential('idLogtime-Edit')): ?>
- <?php echo link_to(__('Edit'), '@edit_logtime?id='.$log_time->getId()) ?>&nbsp;&nbsp;
- <?php echo link_to(__('Delete'), '@delete_logtime?id='.$log_time->getId(), array('confirm' => __('Do you really want to delete this log?'))) ?>
- <?php endif; ?>
- </li>
- </ul>
- </li>
- <?php endforeach; ?>
- </ul>
- <div class="notice clear">Time under projects is to be sorted by date, time under the users time sheet can be sorted by project.</div>
- </div>
- <?php endif; ?>
- </div>
- <?php if($pager->haveToPaginate()): ?>
- <div class="span-full pagenation">
- <ul>
- <?php echo pager_navigation_log_time($pager, $sf_request->getUri()) ?>
- </ul>
- </div>
- <?php endif; ?>
-</div>
@@ -48,7 +48,7 @@
</li>
<?php endforeach; ?>
</ul>
- <div class="notice clear">Time under projects is to be sorted by date, time under the users time sheet can be sorted by project.</div>
+ <div class="clear"></div>
</div>
<?php endif; ?>
</div>
@@ -1,48 +0,0 @@
-<?php slot('title', __('Manage log time')) ?>
-
-<div class="block" id="block-tables">
- <div class="secondary-navigation">
- <ul>
- <li class="first active"><?php echo link_to( __('Go back to issue'), '@show_issue?project_id='.$issue->project_id.'&issue_id='.$issue->id) ?></li>
- </ul>
- <div class="clear"></div>
- </div>
- <div class="content">
- <div class="inner">
-
- <table class="table">
- <tr>
- <th class="first">&nbsp;</th>
- <th><?php echo __('Date') ?></th>
- <th><?php echo __('Logtime') ?></th>
- <th class="last">&nbsp;</th>
- </th>
- </tr>
- <?php $total_logtime = 0; ?>
- <?php if (count($logtime_report) !== false && count($logtime_report) == 0): ?>
- <tr class="odd">
- <td></td>
- <td colspan="2"><?php echo __('No Results') ?></td>
- <td></td>
- </tr>
- <?php else: ?>
- <?php foreach ($logtime_report as $key => $log_time): $row = ($key%2 == 0) ? 'odd' : 'even'; ?>
- <?php $total_logtime += $log_time->getLogTime(); ?>
- <tr class="<?php echo $row ?>">
- <td>&nbsp;</td>
- <td><?php echo $log_time->getCreatedAt() ?></td>
- <td><?php echo $log_time->getLogTime().__(' hours'); ?></td>
- <td>&nbsp;</td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <tr class="odd">
- <td></td>
- <td colspan="2" id="total_log_time"><?php echo __('Total log time: ').$total_logtime.__(' hours') ?></td>
- <td></td>
- </tr>
- </table>
-
- </div>
- </div>
-</div>
@@ -1,50 +0,0 @@
-<?php slot('title', __('Manage log time')) ?>
-
-<div class="block" id="block-tables">
- <div class="secondary-navigation">
- <ul>
- <li class="first active"><?php echo link_to( __('Go back to issue'), '@show_issue?project_id='.$issue->project_id.'&issue_id='.$issue->id) ?></li>
- </ul>
- <div class="clear"></div>
- </div>
- <div class="content">
- <div class="inner">
-
- <table class="table">
- <tr>
- <th class="first">&nbsp;</th>
- <th><?php echo __('User') ?></th>
- <th><?php echo __('Date') ?></th>
- <th><?php echo __('Logtime') ?></th>
- <th class="last">&nbsp;</th>
- </th>
- </tr>
- <?php $total_logtime = 0; ?>
- <?php if (count($logtime_report) !== false && count($logtime_report) == 0): ?>
- <tr class="odd">
- <td></td>
- <td colspan="3"><?php echo __('No Results') ?></td>
- <td></td>
- </tr>
- <?php else: ?>
- <?php foreach ($logtime_report as $key => $log_time): $row = ($key%2 == 0) ? 'odd' : 'even'; ?>
- <?php $total_logtime += $log_time->getLogTime(); ?>
- <tr class="<?php echo $row ?>">
- <td>&nbsp;</td>
- <td><?php echo $log_time->getProfile() ?></td>
- <td><?php echo $log_time->getCreatedAt() ?></td>
- <td><?php echo $log_time->getLogTime().__(' hours') ?></td>
- <td>&nbsp;</td>
- </tr>
- <?php endforeach; ?>
- <?php endif; ?>
- <tr class="odd">
- <td></td>
- <td colspan="3" id="total_log_time"><?php echo __('Total log time: ').$total_logtime.__(' hours') ?></td>
- <td></td>
- </tr>
- </table>
-
- </div>
- </div>
-</div>
@@ -59,7 +59,7 @@
</li>
<?php endforeach; ?>
</ul>
- <div class="notice clear">Time under projects is to be sorted by date, time under the users time sheet can be sorted by project.</div>
+ <div class="clear"></div>
</div>
<?php endif; ?>
</div>
@@ -1,7 +0,0 @@
-<div class="secondary-navigation">
- <ul>
- <li class="first active"><?php echo link_to( __('Create a new message'), '@new_message?project_id='.$sf_request->getParameter('project_id')) ?></li>
- <li><?php echo link_to( __('View all messages'), '@index_messages?project_id='.$sf_request->getParameter('project_id')) ?></li>
- </ul>
- <div class="clear"></div>
-</div>
@@ -1,60 +0,0 @@
-<form action="<?php echo url_for('idMessage/'.($form->getObject()->isNew() ? 'create' : 'update')
- .'?project_id='.$sf_request->getParameter('project_id')
- .(!$form->getObject()->isNew() ? '&message_id='.$form->getObject()->getId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
-<?php if (!$form->getObject()->isNew()): ?>
-<input type="hidden" name="sf_method" value="put" />
-<?php endif; ?>
- <?php if ($form->hasGlobalErrors()): ?>
- <div class="group">
- <div class="fieldWithErrors">
- <span class="error"><?php echo $form->renderGlobalErrors() ?></span>
- </div>
- </div>
- <?php endif; ?>
- <?php if ($sf_user->hasFlash('notice')): ?>
- <div class="group">
- <div class="message">
- <span class="notice"><?php echo $sf_user->getFlash('notice') ?></span>
- </div>
- </div>
- <?php endif; ?>
-
- <table class="table" >
- <?php echo $form->renderGlobalErrors() ?>
- <tr>
- <th class="first">&nbsp;</th>
- <th><?php echo __('Title') ?> <?php echo __('Body') ?></th>
- <th class="last">&nbsp;</th>
- </tr>
- <tr>
- <td></td>
- <td>
- <?php echo $form['title']->renderLabel(__('Title')) ?><br />
- <?php echo $form['title']->renderError() ?>
- <?php echo $form['title'] ?>
- </td>
- <td></td>
- </tr>
- <tr>
- <td></td>
- <td>
- <?php echo $form['body']->renderLabel(__('Body')) ?><br />
- <?php echo $form['body']->renderError() ?>
- <?php echo $form['body'] ?>
- </td>
- <td></td>
- </tr>
- <tr>
- <td></td>
- <td colspan="3">
- <?php echo $form->renderHiddenFields() ?>
- &nbsp;<a href="<?php echo url_for('@index_messages?project_id='.$sf_request->getParameter('project_id')) ?>">Cancel</a>
- <?php if (!$form->getObject()->isNew()): ?>
- &nbsp;<?php echo link_to('Delete', '@delete_message?message_id='.$form->getObject()->getId().'&project_id='.$sf_request->getParameter('project_id'), array('method' => 'delete', 'confirm' => 'Do you really want to delete this message?')) ?>
- <?php endif; ?>
- <input type="submit" value="Save" />
- </td>
- <td></td>
- </tr>
- </table>
-</form>
@@ -1,8 +0,0 @@
-<div class="secondary-navigation">
- <ul>
- <li class="first active"><?php echo link_to( __('Create a new milestone'), '@new_milestone?project_id='.$project->getId()) ?></li>
- <li><?php echo link_to( __('View all project milestones'), '@index_milestone?project_id='.$project->getId()) ?></li>
- <li><?php echo link_to( __('Go back to the project dashboard'), '@show_project?id='.$project->getId()) ?></li>
- </ul>
- <div class="clear"></div>
-</div>
@@ -1,49 +0,0 @@
-<form action="<?php echo url_for(($form->getObject()->isNew() ? '@create_milestone' : '@update_milestone').(!$form->getObject()->isNew() ? '?milestone_id='.$form->getObject()->getid().'&project_id='.$project->getId() : '?project_id='.$project->getId())) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
-<?php if (!$form->getObject()->isNew()): ?>
-<input type="hidden" name="sf_method" value="put" />
-<?php endif; ?>
- <?php if ($form->hasGlobalErrors()): ?>
- <div class="group">
- <div class="fieldWithErrors">
- <span class="error"><?php echo $form->renderGlobalErrors() ?></span>
- </div>
- </div>
- <?php endif; ?>
-
- <table class="table">
-
- <tr>
- <tr>
- <th class="first">&nbsp;</th>
- <th><?php echo __('Title') ?></th>
- <th><?php echo __('Description') ?></th>
- <th><?php echo __('Starting date') ?></th>
- <th><?php echo __('Ending date') ?></th>
- <th><?php echo __('Estimated time') ?></th>
- <th class="last">&nbsp;</th>
- </tr>
- </tr>
-
- <tr class="odd">
- <td>&nbsp;</td>
- <td><?php echo $form['title']->renderError('</br>') ?><?php echo $form['title'] ?></td>
- <td><?php echo $form['description']->renderError('</br>') ?><?php echo $form['description'] ?></td>
- <td><?php echo $form['starting_date']->renderError('</br>') ?><?php echo $form['starting_date'] ?></td>
- <td><?php echo $form['ending_date']->renderError('</br>') ?><?php echo $form['ending_date'] ?></td>
- <td><?php echo $form['estimated_time']->renderError('</br>') ?><?php echo $form['estimated_time'] ?></td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td colspan="2">
- <?php echo $form->renderHiddenFields() ?>
- &nbsp;<a href="<?php echo url_for('@show_project?id='.$project->getId()) ?>"><?php echo __('Cancel') ?></a>
- <?php if (!$form->getObject()->isNew()): ?>
- &nbsp;<?php echo link_to(__('Delete'), 'idMilestone/delete?id='.$form->getObject()->getid(), array('method' => 'delete', 'confirm' => __('Do you really want to delete this milestone?'))) ?>
- <?php endif; ?>
- <input type="submit" value="<?php echo __('Save') ?>" />
- </td>
- </tr>
-
- </table>
-</form>

0 comments on commit 9879b36

Please sign in to comment.