[Bps-public-commit] RT-Extension-FeaturedTickets branch, master, updated. 14c31569e744eee94338881ec571ec919ed5ab6c
Craig Kaiser
craig at bestpractical.com
Thu Apr 5 08:53:54 EDT 2018
The branch, master has been updated
via 14c31569e744eee94338881ec571ec919ed5ab6c (commit)
from 4d42cf4a2251f403777d4785a8faeef34d055050 (commit)
Summary of changes:
html/NoAuth/Featured/index.html | 5 ++---
static/css/featured-tickets.css | 10 +++-------
2 files changed, 5 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit 14c31569e744eee94338881ec571ec919ed5ab6c
Author: craig Kaiser <craig at bestpractical.com>
Date: Wed Apr 4 10:58:12 2018 -0400
Update css for details button
diff --git a/html/NoAuth/Featured/index.html b/html/NoAuth/Featured/index.html
index 0888538..8b16f16 100644
--- a/html/NoAuth/Featured/index.html
+++ b/html/NoAuth/Featured/index.html
@@ -87,20 +87,19 @@
<div class="pricing-table-header">
<h2><% $ticket->Subject ? $ticket->Subject : 'Ticket: ' . $ticket->Id %></h2>
</div>
-% if ( $ticket->FirstCustomFieldValue('Funded') eq 'Funded' ) {
+% if ( $ticket->FirstCustomFieldValue('Funded') && $ticket->FirstCustomFieldValue('Funded') eq 'Funded' ) {
<div class='ribbon-wrapper'>
<div class='ribbon'>Funded!</div>
</div>
% }
<p><% $ticket->FirstCustomFieldValue('Description') %></p>
- </div>
- <div class='detail-stuff'>
% my $args = {'ticket_id' => $ticket->Id, 'Subject' => $ticket->Subject, 'Goal' => 'Goal: $' . ($ticket->FirstCustomFieldValue('Goal') ? $ticket->FirstCustomFieldValue('Goal') : 0), 'Description' => $ticket->FirstCustomFieldValue('Description'), 'Details' => $ticket->FirstCustomFieldValue('Details') };
<button onclick="detailsClicked(<% encode_json( $args ) %>)" type="submit" class="featured-tickets-button-choose pure-button" value="<% $ticket->Id %>" name="ticket_id">Details</button>
</div>
</div>
%}
</div> <!-- end pricing-tables -->
+</div>
<div class="information pure-g">
<div class="pure-u-1 pure-u-md-1-2">
diff --git a/static/css/featured-tickets.css b/static/css/featured-tickets.css
index 01637fb..f37ea0f 100644
--- a/static/css/featured-tickets.css
+++ b/static/css/featured-tickets.css
@@ -105,7 +105,7 @@
padding: 0 0 1em;
position: relative;
background-color: lightgray;
- overflow: auto;
+ overflow: hidden;
height: 10em;
}
@@ -200,8 +200,8 @@
color: #333;
border-radius: 2em;
font-weight: bold;
- top: 5px;
- position: relative;
+ top: 80%;
+ position: sticky;
}
.featured-tickets-information-head {
@@ -230,10 +230,6 @@
.banner-head {
font-size: 4em;
}
- .pricing-table {
- margin-bottom: 0;
- }
-
}
.featured-tickets-input {
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list