improved invitations fragments, less duplicated code
Merge pull request #58 from dvicini/master

improved invitations fragments, less duplicated code