Permalink
Commits on Feb 20, 2018
  1. Merge pull request #523 from tdooner/add-redirect-helper

    tdooner committed Feb 20, 2018
    Add `@redirect_from` decorator to handle redirects
  2. Merge pull request #524 from tdooner/add-gsuite

    tdooner committed Feb 20, 2018
    Add link to G Suite to software page
  3. Merge pull request #522 from tdooner/fix-brigade-project-pagination

    tdooner committed Feb 20, 2018
    Fix projects pagination URLs
  4. Add link to G Suite to software page

    tdooner committed Feb 20, 2018
    We're rolling out G Suite now to brigades. Let's add this to the
    software page!
  5. Add `@redirect_from` decorator to handle redirects

    tdooner committed Feb 15, 2018
    This is a quick DRYing up of our various redirect methods. I googled
    around for a better way to do this with flask but didn't find one.
    
    This adds a decorator which dynamically creates these handler methods
    and registers them as a route.
  6. Fix projects pagination URLs

    tdooner committed Feb 20, 2018
    The project list pagination URLs were wrong because they didn't use the
    `url_for` helper. Using this helper results in less code since it will
    handle the cases of a brigade/non-brigade project pages automatically.
    
    The code was also broken in creating a malformed URL when paginating to
    the second page of a brigade's projects (i.e.
    http://brigade.codeforamerica.org/brigades/Code-for-San-Jose/projects?page=2
    would request
    http://api.codeforamerica.org/api/organizations/Code-for-San-Jose/projects&page=1)
    
    To fix this, I used a proper query string encoding method instead of
    string concatenation.
  7. Merge pull request #521 from codeforamerica/brigade-event-tracking

    fritzjooste committed Feb 20, 2018
    Add titles to Brigade profile links for better GA event tracking
  8. Fix typo

    fritzjooste committed Feb 20, 2018
  9. Add title properties to Brigade profile links for better GA event tra…

    fritzjooste committed Feb 20, 2018
    …cking
Commits on Feb 16, 2018
  1. Merge pull request #515 from codeforamerica/wip_brigade-profile

    fritzjooste committed Feb 16, 2018
    Improve events on Brigade profile
  2. Center 'more projects' button

    fritzjooste committed Feb 16, 2018
Commits on Feb 15, 2018
  1. Add alt text to next Brigade event map image

    fritzjooste committed Feb 15, 2018
  2. Add 'more projects' button

    fritzjooste committed Feb 15, 2018
  3. Use FontAwesome's own .fa-ul list styling instead of .list--with-icons

    fritzjooste committed Feb 15, 2018
    This removes the .list--with-icons list variant, and instead uses
    FontAwesome own icon list class on the Brigade profile page.
  4. Reword profile section titles to include 'action words'

    fritzjooste committed Feb 15, 2018
    This is in response to some design feedback.
  5. Only show events section on profiles for actual brigades

    fritzjooste committed Feb 12, 2018
    Don't show the events section on non-brigade profiles, like government
    organizations (e.g. 18F, US Census Bureau etc.)
  6. Display 'Event today' label on next event if it's happening today

    fritzjooste committed Feb 12, 2018
    If the next event is happening today, it's labeled 'Event today',
    otherwise it's labeled 'Next event'.
  7. Increase padding at top and bottom of slabs

    fritzjooste committed Feb 7, 2018
    This helps separate different sections visually.
  8. Create page-header component

    fritzjooste committed Feb 7, 2018
    Create a blank page-header component and use it on the brigade profile
    template
  9. Adjust what contact information is displayed when there aren't events

    fritzjooste committed Feb 7, 2018
    In testing, new Brigade participants said that they would reach out to a
    Brigade using their social media accounts, rather than look them up using
    the Brigade Directory, as the Brigade Directory felt a little
    overwhelming.
    
    This commit adjusts the contact details that are presented to the user
    when there are no events, so that the Brigade Directory is only shown as
    a last resort.
    
    This commit also correct some typos related to the social media and
    contact links in the events section.
  10. Add descriptive line to brigade profile header

    fritzjooste committed Feb 7, 2018
    This also sets a narrower width for the contents of the header.
  11. Update list--with-icons component to work with FontAwesome

    fritzjooste committed Feb 7, 2018
    This commit changes the list--with-icons component, so that the first
    FontAwesome icon <i> element in each list item is used as the bullet,
    and the list has neat hanging indentation.
    
    It also updates the brigade profile page to use list--with-icons to
    display event details.
  12. Add split_underscores filter and use it on brigade project names

    fritzjooste committed Feb 7, 2018
    Some brigade projects names from Github use underscore instead of spaces
    and some long names were causing wrapping/overflow issues (for example,
    'OpenSaltLake_Website').
    
    This commit adds a filter that replaces underscores with spaces, and
    then uses the filter on the Brigade profile project titles.
  13. Fix other event URL typo

    fritzjooste committed Feb 7, 2018
  14. Change out label element

    fritzjooste committed Feb 7, 2018
    The label element is really for use with forms. Let's just use some
    small text for now.