Permalink
Switch branches/tags
Nothing to show
Commits on Jul 5, 2016
  1. Standardise footer UTM tracking with other sites

    zarino committed Jul 5, 2016
Commits on Jul 4, 2016
  1. add back in search all speeches/$person's speeches radio buttons

    struan committed Jun 24, 2016
    Fixes #1041
  2. stop duplication of speaker: part of search strings

    struan committed Jun 24, 2016
    The URL creation already pulls in the search string so we don't need to
    re-add it, especially as doing so means on the next page the pid is
    added again.
    
    Fixes #1105
Commits on Jul 2, 2016
Commits on Jul 1, 2016
  1. improve generation of page url for og:url

    struan committed Jul 1, 2016
  2. Add Facebook and Twitter share buttons

    struan committed Jun 30, 2016
  3. Fix undefined variable error on dev vhosts

    struan committed Jul 1, 2016
    use isset to check for $former rather that plain check as it's not
    always defined and this breaks the page on dev vhosts with all the error
    checking turned on
  4. Fix issues with OpenGraph headers

    zarino authored and struan committed Jul 1, 2016
    Fix the following issues:
     * og:url always pointed to homepage and not current page
     * Facebook app id was incorrect
     * update the og:image to match Facebook profile picture
  5. Replicate page title and description in OpenGraph tags

    zarino authored and struan committed Jun 30, 2016
    This way, users sharing inner pages of TWFY (eg: MP profiles) on
    Facebook will benefit from the customised text that’s currently
    hidden away in the `<meta type="description">` element.
    
    Part of #1118.
Commits on Jun 30, 2016
  1. fix short tags

    struan committed Jun 30, 2016
  2. display MP's EU referendum stance at the top of the profile page

    struan committed Jun 29, 2016
Commits on Jun 29, 2016
  1. Use HTTPS for font file.

    dracos committed Jun 29, 2016
  2. Remove unused JavaScript file.

    dracos committed Jun 29, 2016
Commits on Jun 28, 2016
  1. add UTM tags to track clicks on the standard footer

    wrightmartin committed Jun 28, 2016
Commits on Jun 24, 2016
  1. Capitalise Hansard on front page

    struan committed Jun 24, 2016
    Fixes #1106
  2. update mpinfoin to include 2015 WTT stats

    struan committed Jun 24, 2016
  3. Tidy up homepage and MP page .panel styles

    zarino authored and struan committed May 17, 2016
    The homepage and MP page were using completely different
    styles for `.panel` elements. This consolidates the two
    into one standard component, while also clearing out a
    few special cases that aren’t required any more.
  4. Promote MP responsiveness on MP profile page

    zarino authored and struan committed May 17, 2016
    Loads all the responsiveness strings into a $wtt_strings variable that's
    available to the template and then uses a year variable in the template
    to show/hide the promotional banner.
    
    Also extracts the list of WTT stats years into an array at the top of
    mp/index.php to make it a bit easier to add new years to this.
    
    And adds 2015 while we're at it which means all this will just work for
    2015 once the stats are available.
Commits on Jun 8, 2016
  1. Ignore ignored headings earlier in process.

    dracos committed Jun 8, 2016
    Otherwise it is possible for a PBC import to get confused assuming a
    structure of things that aren't there because they're not present.
Commits on May 24, 2016
  1. Replace footer with standard mySociety footer

    zarino authored and struan committed Apr 29, 2016
    This loses a few features in the migration – mainly the links to regional
    assemblies, international PMOs, and the twitter/facebook widgets.
    
    Fixes #1095
Commits on May 20, 2016
Commits on May 19, 2016
  1. Limit total length of popular search terms to 2000 characters

    struan committed May 19, 2016
    If really long search terms make it into the popular search terms output
    then it breaks the front page so use the existing length limiting code
    to prevent it from exceeding 2000 characters.
    
    Also, fix a bug in the length limiting code.
    
    Fixes #1104
Commits on May 13, 2016
Commits on May 5, 2016
Commits on Apr 25, 2016
  1. Add Contact link to main nav

    zarino authored and struan committed Apr 4, 2016
    Fixes #1053.
    
    Nav text is now 16px rather than 18px, to make room
    for the extra menu item.
Commits on Apr 22, 2016