View | Details | Raw Unified | Return to bug 24455
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (+4 lines)
Lines 212-217 Link Here
212
    </div> <!-- /.container-fluid -->
212
    </div> <!-- /.container-fluid -->
213
213
214
[% MACRO jsinclude BLOCK %]
214
[% MACRO jsinclude BLOCK %]
215
    [% INCLUDE 'calendar.inc' %]
215
    <script type="text/javascript">
216
    <script type="text/javascript">
216
    //<![CDATA[
217
    //<![CDATA[
217
    var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This cannot be undone.");
218
    var MSG_CONFIRM_DELETE = _("Are you sure you want to delete this news item? This cannot be undone.");
Lines 219-224 Link Here
219
            $(".news_delete").on("click", function(){
220
            $(".news_delete").on("click", function(){
220
                return confirmDelete(MSG_CONFIRM_DELETE);
221
                return confirmDelete(MSG_CONFIRM_DELETE);
221
            });
222
            });
223
            var dt = "[% dt %]";
224
            console.log(dt);
225
            console.log(ISO_to_syspref(dt, 1));
222
        });
226
        });
223
    //]]>
227
    //]]>
224
    </script>
228
    </script>
(-)a/mainpage.pl (-1 / +3 lines)
Lines 75-80 my $pending_article_requests = Koha::ArticleRequests->search_limited( Link Here
75
    }
75
    }
76
)->count;
76
)->count;
77
77
78
use Koha::DateUtils qw( dt_from_string output_pref );
79
my $dt = dt_from_string;
78
$template->param(
80
$template->param(
79
    pendingcomments                => $pendingcomments,
81
    pendingcomments                => $pendingcomments,
80
    pendingtags                    => $pendingtags,
82
    pendingtags                    => $pendingtags,
Lines 82-87 $template->param( Link Here
82
    pending_borrower_modifications => $pending_borrower_modifications,
84
    pending_borrower_modifications => $pending_borrower_modifications,
83
    pending_discharge_requests     => $pending_discharge_requests,
85
    pending_discharge_requests     => $pending_discharge_requests,
84
    pending_article_requests       => $pending_article_requests,
86
    pending_article_requests       => $pending_article_requests,
87
    dt => output_pref({dt => $dt, dateformat => 'rfc3339', }),
85
);
88
);
86
89
87
output_html_with_http_headers $query, $cookie, $template->output;
90
output_html_with_http_headers $query, $cookie, $template->output;
88
- 

Return to bug 24455