diff options
author | ivan <ivan> | 2011-03-13 04:04:17 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-03-13 04:04:17 +0000 |
commit | d66bff648dd4d7969f50f956b5c1dd06b8159b8c (patch) | |
tree | 9d23d090affa5b05f251a61a58fbec1d60bcd78e /httemplate/elements | |
parent | 4fee4d1074c4a0844292c2204bc0a849f9bf119c (diff) |
ui tweaks for prospect edit, RT#7111
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/location.html | 8 | ||||
-rw-r--r-- | httemplate/elements/tr-select-agent.html | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/httemplate/elements/location.html b/httemplate/elements/location.html index e93553e2a..0b91add52 100644 --- a/httemplate/elements/location.html +++ b/httemplate/elements/location.html @@ -140,7 +140,7 @@ Example: % #XXX try to parse first % if ( 0 ) { -% } else { +% } else { #XXX i don't work so well when the dropdown is changed :/ i probably need to be triggered by "default service address" Can't parse unit type and number from <B><% $object->get($pre.'address2') |h %></B> % } @@ -156,13 +156,13 @@ Example: <TR> <<%$th%> ALIGN="right"><%$r%>City</<%$th%>> <TD WIDTH="1"><% include('/elements/city.html', %select_hash) %></TD> - <<%$th%> ALIGN="right" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County</<%$th%>> - <TD><% include('/elements/select-county.html', %select_hash ) %></TD> + <<%$th%> ALIGN="right" WIDTH="1" ID="<%$pre%>countylabel" <%$county_style%>><%$r%>County</<%$th%>> + <TD WIDTH="1"><% include('/elements/select-county.html', %select_hash ) %></TD> <<%$th%> ALIGN="right" WIDTH="1"><%$r%>State</<%$th%>> <TD WIDTH="1"> <% include('/elements/select-state.html', %select_hash ) %> </TD> - <<%$th%>><%$r%>Zip</<%$th%>> + <<%$th%> ALIGN="right" WIDTH="1"><%$r%>Zip</<%$th%>> <TD> <INPUT TYPE = "text" NAME = "<%$pre%>zip" diff --git a/httemplate/elements/tr-select-agent.html b/httemplate/elements/tr-select-agent.html index 9f2f76a6c..515a11d48 100644 --- a/httemplate/elements/tr-select-agent.html +++ b/httemplate/elements/tr-select-agent.html @@ -33,7 +33,7 @@ Example: <TR> <TD ALIGN="right"><% $opt{'label'} || 'Agent' %></TD> - <TD> + <TD <% $colspan %>> <% include( '/elements/select-agent.html', 'curr_value' => $agentnum, 'agents' => \@agents, @@ -57,4 +57,6 @@ my @agents = 'viewall_right' => $opt{'viewall_right'}, ); +my $colspan = $opt{'colspan'} ? 'COLSPAN="'.$opt{'colspan'}.'"' : ''; + </%init> |