Commit 5c6fa829 authored by Jesse Vincent's avatar Jesse Vincent
Browse files

Tidy the html we generate a bit

parent d3577b77
......@@ -45,13 +45,9 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
<form
action="<% RT->Config->Get('WebPath') %><% $SendTo %>"
name="CreateTicketInQueue"
id="CreateTicketInQueue"
<form action="<% RT->Config->Get('WebPath') %><% $SendTo %>" name="CreateTicketInQueue" id="CreateTicketInQueue" \
% $m->callback(CallbackName => 'InFormElement');
>
<&|/l, $m->scomp('/Elements/SelectNewTicketQueue', OnChange => 'document.CreateTicketInQueue.submit()', SendTo => $SendTo ) &><input type="submit" class="button" value="New ticket in" />&nbsp;[_1]</&>
% $m->callback(CallbackName => 'BeforeFormEnd');
</form>
......
......@@ -48,21 +48,17 @@
<div class="titlebox<% $class ? " $class " : '' %>" id="<% $id %>">
<div class="titlebox-title<% $title_class ? " $title_class" : ''%>">
% if ($hideable) {
<span class="widget"><a href="#"
onclick="return rollup('<%$tid%>');"
title="Toggle visibility"></a>
</span>
<span class="widget"><a href="#" onclick="return rollup('<%$tid%>');" title="Toggle visibility"></a></span>
% }
<span class="left">
<% $title_href ? qq[<a href="$title_href">] : '' | n
<span class="left"><%
$title_href ? qq[<a href="$title_href">] : '' | n
%><% $title %><% $title_raw |n %><% $title_href ? "</a>" : '' |n%></span>
<span class="right<%($titleright_href || $titleright || $titleright_raw) ? '' : '-empty' %>">
<% $titleright_href ? qq[<a href="$titleright_href">] : '' | n %>
<% $titleright %><% $titleright_raw |n%><% $titleright_href ? "</a>" : '' |n%>
<span class="right<%($titleright_href || $titleright || $titleright_raw) ? '' : '-empty' %>">\
<% $titleright_href ? qq[<a href="$titleright_href">] : '' | n %>\
<% $titleright %><% $titleright_raw |n%><% $titleright_href ? "</a>" : '' |n%>\
</span>
</div>
<div class="titlebox-content <% $bodyclass %>" id="<% $tid %>">
<%ARGS>
$class => ''
$bodyclass => ''
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment