Skip to content

Commit

Permalink
Mark inactive deliverables.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Mar 23, 2015
1 parent 7bda7a1 commit 65652bd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/ErrorHandler.php
Expand Up @@ -118,7 +118,7 @@ public static function fatal($error)
echo '<h4>' . Horde_Core_Translation::t("The full error message is logged in Horde's log file, and is shown below only to administrators. Non-administrative users will not see error details.") . '</h4>';
ob_flush();
flush();
echo '<div id="details"><pre>' . htmlspecialchars(print_r($error, true)) . '</pre></div>';
//echo '<div id="details"><pre>' . htmlspecialchars(print_r($error, true)) . '</pre></div>';
}
} else {
echo '<h3>' . Horde_Core_Translation::t("Details have been logged for the administrator.") . '</h3>';
Expand Down
12 changes: 9 additions & 3 deletions hermes/deliverables.php
Expand Up @@ -76,9 +76,15 @@
'alternate' => true));

foreach ($deliverables as $deliverable) {
$params = array();
$params['url'] = Horde::url('deliverables.php')->add(array('deliverable_id' => $deliverable['id'], 'client_id' => $vars->get('client_id')));
$params['title'] = sprintf(_("Edit %s"), $deliverable['name']);
$params = array(
'url' => Horde::url('deliverables.php')
->add(array(
'deliverable_id' => $deliverable['id'],
'client_id' => $vars->get('client_id')
)),
'title' => sprintf(_("Edit %s"), $deliverable['name']),
'urlclass' => $deliverable['active'] ? '' : 'hermes-inactive',
);

$newdeliv = '&nbsp;' . Horde::link(
Horde::url('deliverables.php')
Expand Down
5 changes: 5 additions & 0 deletions hermes/themes/default/screen.css
Expand Up @@ -63,3 +63,8 @@ table.time tfoot td {
font-weight: bold;
padding: 1px;
}

/* Deliverables */
.hermes-inactive {
text-decoration: line-through;
}

0 comments on commit 65652bd

Please sign in to comment.