projects
/
infodrom.org
/
service.infodrom.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e6c62d
)
Improve edit title
author
Joey Schulze
<joey@infodrom.org>
Mon, 13 May 2013 10:49:58 +0000
(10:49 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Mon, 13 May 2013 10:49:58 +0000
(10:49 +0000)
src/InfoCon/stempel/edit.wml
patch
|
blob
|
history
diff --git
a/src/InfoCon/stempel/edit.wml
b/src/InfoCon/stempel/edit.wml
index
db64319
..
894544f
100644
(file)
--- a/
src/InfoCon/stempel/edit.wml
+++ b/
src/InfoCon/stempel/edit.wml
@@
-58,7
+58,11
@@
div.radio input.radio {
</style>
<?
</style>
<?
-printf('<h3 class="bar" align="center">- %s: %s</h3>', $row['customer'], $row['task']);
+$name = load_customers();
+$cname = $name[$row['customer']];
+if (!strlen($cname)) $cname = ucfirst($row['customer']);
+
+printf('<h3 class="bar" align="center">%s: %s</h3>', $cname, substring($row['task'],0,80-strlen($cname)));
?>
<form method=post action="update.php">
?>
<form method=post action="update.php">