Author: rjollos Date: Fri Mar 15 16:43:13 2013 New Revision: 1457009 URL: http://svn.apache.org/r1457009 Log: Fixes #464: * Prevent content within the qct success dialog from wrapping. * Moved some CSS from `theme.js` to `bloodhound.css`.
Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css?rev=1457009&r1=1457008&r2=1457009&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original) +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Fri Mar 15 16:43:13 2013 @@ -336,6 +336,13 @@ pre { white-space: normal; } +#qct-newticket + .popover .popover-content { + white-space: nowrap; +} +#qct-newticket + .popover .popover-content span { + padding: 3px; +} + /* @group Generic rules */ .full-x { Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js?rev=1457009&r1=1457008&r2=1457009&view=diff ============================================================================== --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js (original) +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js Fri Mar 15 16:43:13 2013 @@ -79,12 +79,12 @@ $( function () { base_url = ''; $.post(base_url + '/qct', $('#qct-form').serialize(), function(ticket_id) { + var href = base_url + '/ticket/' + ticket_id; qct_alert({ ticket: ticket_id, - msg: '<span class="alert alert-success" ' + - ' style="padding:3px"> Has been created</span>' + - '</span> <a href="' + base_url + '/ticket/' + - ticket_id + '" class="pull-right">View / Edit</a>' + msg: '<span class="alert alert-success">' + + 'Has been created</span> ' + + '<a href="' + href + '">View / Edit</a>' }); }) .error(function(jqXHR, textStatus, errorMsg) {