updated javascript for campaign details, added javascript file, edited views, realized i could do shorthand conditionals in jinja2 also