actions = ['export_xls', 'write_message', 'add_to_group']
action_form = StudentGroupForm
+ class Media:
+ js = (
+ 'admin/js/admin-teleforma.js',
+ )
+
def get_trainings(self, instance):
return ' - '.join([str(training) for training in instance.trainings.all()])
--- /dev/null
+$(document).ready(function() {
+ // links should be opened in new tab to avoid a bug with the back button and multiselect field on FF : https://trackers.pilotsystems.net/prebarreau/0311
+ $("a:contains('Voir sur le site')").attr("target", "_blank")
+})
\ No newline at end of file