[Bps-public-commit] r20240 - RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login
ruz at bestpractical.com
ruz at bestpractical.com
Mon Dec 28 16:54:36 EST 2009
Author: ruz
Date: Mon Dec 28 16:54:36 2009
New Revision: 20240
Modified:
RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Default
Log:
* use h3/p tags instead of input-row div
* localize strings
Modified: RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Default
==============================================================================
--- RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Default (original)
+++ RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Default Mon Dec 28 16:54:36 2009
@@ -3,11 +3,7 @@
my $bc = RT::Authen::Bitcard->handler;
my $return_to = $RT::WebURL . 'index.html';
</%INIT>
-<div class="input-row">
- Have a <a href="<% $bc->bitcard_url %>">Bitcard</a> account?
- <a href="<% $bc->login_url( r => $return_to ) %>">Log in with it now</a>.
-</div>
-<div class="input-row">
- <a href="<% $bc->register_url( r => $return_to ) %>">
- Get a Bitcard account.</a>
-</div>
+<h3><% loc('Have a <em>Bitcard</em> account?') |n %></h3>
+<p>
+<% loc('<a href="[_1]">Log in with it</a> now or get a <a href="[_1]">Bitcard account</a>.', $return_to ) |n %>
+</p>
More information about the Bps-public-commit
mailing list