[Rt-commit] r3223 - in rt/branches/3.4-RELEASE: . html/Admin/Elements

Jesse Vincent jesse at bestpractical.com
Sat Jun 18 14:31:43 EDT 2005


Mentioned in IRC, but here so you have em:

> +% if ($Scrips->Count == 0) {
> +
> +<P><i><&|/l&>(No scrips)(</&></i></P>

			   ^ typo

> -<font size="-1"><&|/l&>(No scrips)</&></font>
> +<LI>
> +<a href="../Global/Scrip.html?id=<%$scrip->Id%>&Queue=<%0%>"><% $scrip->Description || "<i>(".loc('Scrip').' #'.$scrip->Id.")</i>" |n %></a><br>

We should be using <%$RT::WebPath%>/Admin/Global/Scrip.html...    It
breaks less when people misuse components (Since components get called
from weird places

Also, because different languages have different ways of saying 

Foo #xxx

, it should be in a loc call

Conveniently, we already have "Scrip #[_1]" in the loc catalogs, so we
can reuse it.

-- 


More information about the Rt-commit mailing list