##// END OF EJS Templates
fix sticky warning....
fix sticky warning. Widget.warning('text....') was infinitely sticky in some cases like content manager raising 'not implemented' on copy. The make default click_callback to dismiss notification, and fix the logic to not unbind the click handler if it requests the notification not to be dismissed.

File last commit:

r12661:a408ca51
r20294:06a51f16
Show More
Makefile
24 lines | 680 B | text/x-makefile | MakefileLexer
TPLS := $(patsubst %.tpl,../latex/skeleton/%.tplx,$(wildcard *.tpl))
all: clean $(TPLS)
# Convert standard Jinja2 syntax to LaTeX safe Jinja2
# see http://flask.pocoo.org/snippets/55/ for more info
../latex/skeleton/%.tplx: %.tpl
@echo 'generating tex equivalent of $^: $@'
@echo '((= Auto-generated template file, DO NOT edit directly!\n' \
' To edit this file, please refer to ../../skeleton/README.md' \
'=))\n\n' > $@
@sed \
-e 's/{%/((*/g' \
-e 's/%}/*))/g' \
-e 's/{{/(((/g' \
-e 's/}}/)))/g' \
-e 's/{#/((=/g' \
-e 's/#}/=))/g' \
-e "s/tpl'/tplx'/g" \
$^ >> $@
clean:
@echo "cleaning generated tplx files..."
@-rm ../latex/skeleton/*.tplx