[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5422] trunk
- Subject: SF.net SVN: ledger-smb:[5422] trunk
- From: ..hidden..
- Date: Thu, 27 Dec 2012 05:54:39 +0000
Revision: 5422
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5422&view=rev
Author: einhverfr
Date: 2012-12-27 05:54:37 +0000 (Thu, 27 Dec 2012)
Log Message:
-----------
Fixing buttons/permalink not displaying when LaTeX support not detected
Modified Paths:
--------------
trunk/LedgerSMB/Report.pm
trunk/UI/Reports/display_report.html
Modified: trunk/LedgerSMB/Report.pm
===================================================================
--- trunk/LedgerSMB/Report.pm 2012-12-27 02:43:13 UTC (rev 5421)
+++ trunk/LedgerSMB/Report.pm 2012-12-27 05:54:37 UTC (rev 5422)
@@ -226,7 +226,6 @@
push @newrows, $r;
}
}
-
# Rendering
if (!defined $self->format){
Modified: trunk/UI/Reports/display_report.html
===================================================================
--- trunk/UI/Reports/display_report.html 2012-12-27 02:43:13 UTC (rev 5421)
+++ trunk/UI/Reports/display_report.html 2012-12-27 05:54:37 UTC (rev 5422)
@@ -49,13 +49,13 @@
<?lsmb PROCESS dynatable tbody = {rows = rows }
attributes = {class = 'report', order_url = order_url } ?>
-<?lsmb IF FORMATS.grep('PDF').size()
-?>
-<?lsmb
+<?lsmb
FOREACH BUTTON IN buttons;
PROCESS button element_data = BUTTON;
-END; ?><br />
+END; ?><br />
<a href="<?lsmb LINK ?>">[<?lsmb text('permalink') ?>]</a>
+<?lsmb IF FORMATS.grep('PDF').size()
+?>
<a href="<?lsmb LINK _ '&format=PDF' ?>">[<?lsmb text('PDF') ?>]</a>
<?lsmb END;
IF FORMATS.grep('TXT').size();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.