Merging Bhavesh Goyal's lovely patch to add Mass removal of list members, which fixes Bug #1430837
commit 8872e9fd545e2fc63b2f3f82af74f8b8d6099d38
2 parents cc8f2f9 + ee9243e
@Terri Oda Terri Oda authored on 16 Apr 2015
Showing 9 changed files
View
18
src/postorius/forms.py
"""
layout = [["Mass subscription", "emails"]]
 
 
class ListMassRemoval(FieldsetForm):
 
"""Form fields to remove multiple list users.
"""
emails = forms.CharField(
label=_('Emails to Unsubscribe'),
widget=forms.Textarea,
)
 
class Meta:
 
"""
Class to define the name of the fieldsets and what should be
included in each.
"""
layout = [["Mass Removal", "emails"]]
 
 
class UserPreferences(FieldsetForm):
 
"""
Form handling the user's global, address and subscription based preferences
View
4
src/postorius/static/postorius/js/script.js
$(document).ready(function(){
$('.collapse').collapse({
toggle: false,
});
toggle: false,
});
View
src/postorius/templates/postorius/base.html
View
src/postorius/templates/postorius/lists/confirm_removeall_subscribers.html 0 → 100644
View
src/postorius/templates/postorius/lists/mass_removal.html 0 → 100644
View
src/postorius/templates/postorius/lists/members.html
View
src/postorius/templates/postorius/menu/list_nav.html
View
src/postorius/urls.py
View
src/postorius/views/list.py