diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-26 21:24:44 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-26 21:24:44 -0300 |
commit | 7bdf5f7a1e9fcdf1888f42ef8e7e92a7bc472fa6 (patch) | |
tree | 2fb88ececc48f58cfdfdc3db25f7f2113b43de70 /muamba.theme.inc | |
parent | b74600a75946c09159d02f39dfe807ee892cdf71 (diff) | |
download | muamba-7bdf5f7a1e9fcdf1888f42ef8e7e92a7bc472fa6.tar.gz muamba-7bdf5f7a1e9fcdf1888f42ef8e7e92a7bc472fa6.tar.bz2 |
Fixes and message link
Diffstat (limited to 'muamba.theme.inc')
-rw-r--r-- | muamba.theme.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/muamba.theme.inc b/muamba.theme.inc index 1bec871..b2da534 100644 --- a/muamba.theme.inc +++ b/muamba.theme.inc @@ -33,19 +33,20 @@ function theme_muamba_transactions($variables) { foreach($transactions as $transaction) { foreach (muamba_actions_available($type, $transaction['status']) as $action) { $callback = muamba_actions($action); - $available_actions[] = l(t($callback), $callback); + $actions[] = l(t($callback), $callback); } $rows[] = array( 'asset' => $transaction['node']->title, 'user' => $transaction['user']->name, 'status' => t(muamba_statuses($transaction['status'])), - 'available_actions' => implode($available_actions, '|'), + 'actions' => implode($actions, ' | '), + 'thread' => l(t('view'), 'messages/view/'. $transaction['thread_id']), ); } // Make a table for them. - $header = array(t('Asset'), t('User'), t('Status'), t('Actions')); + $header = array(t('Asset'), t('User'), t('Status'), t('Actions'), t('Messages')); $output .= theme('table', array('header' => $header, 'rows' => $rows)); $output .= '</div>'; |