Login or Register

RSS IconRecent posts in this topic

avatar
Brady J. Frey on Jun 15. 2007. 3:40 pm
I'm using this for two systems; one is specific as an internal project management tool, and a list of 'finished projects' would be nice simply as a litmus for completed work. Is there a way to add this to the dashboard? The list would be just completed projects, regardless of permissions for access, and does not need to link anywhere. I'm still digging myself, but thought i'd ask at the same time. Thank you!
avatar
Brady J. Frey on Jun 15. 2007. 3:45 pm
Looks like:
<?php if(isset($finished_projects) && is_array($finished_projects) && count($finished_projects)) { ?>
<div class="sidebarBlock">
  <h2><?php echo lang('finished projects') ?></h2>
  <div class="blockContent">
    <p><?php echo lang('my projects archive desc') ?></p>
    <ul class="listWithDetails">
<?php foreach($finished_projects as $project) { ?>
      <li>
        <a href="<?php echo $project->getOverviewUrl() ?>"><?php echo clean($project->getName()) ?></a><br />
        <span class="desc">(<?php echo lang('completed on by', format_date($project->getCompletedOn()), $project->getCompletedBy()->getCardUrl(), clean($project->getCompletedBy()->getDisplayName())) ?>)</span>
      </li>
<?php } // foreach ?>
    </ul>
  </div>
</div>
<?php } // if ?>


is the key here... now to figure out how to drop it on the dashboard...
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic