Merge branch 'view-refactor' of stigma:platforma into zuber-view-refactor
[redakcja.git] / project / templates / explorer / panels / parse_error.html
1 <h2>Podczas otwierania panelu "{{ panel_name }}" wystąpił przetwarzania pliku źródłowego:</h2>
2 <p><b>{{ exception_type }}</b></p>
3 <p>{{ exception.message }}</p>
4
5 <button id="try-again-button" type="button">Try Again</button>
6
7 <script type="text/javascript" charset="utf-8">
8 panel_hooks = {
9     load: function() {
10         var self = this;
11
12         $('#try-again-button').click(function() {
13             self.load(self.current_url);
14         });      
15     },
16     refresh: function() {
17         return true; // error page is static
18     },
19     dirty: function() {
20         return true; // and it doesn't get dirty 
21     }
22 };
23 </script>