Commit Graph

17 Commits

Author SHA1 Message Date
Piotr Sarnacki
f47b893cb8 Rename Travis.Route to Travis.BasicRoute and Travis.View to Travis.BasicView 2015-02-02 11:48:22 +01:00
Piotr Sarnacki
76f4ac758c Fix CSS on profile page 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
0074acb8fe Fix profile info tab 2015-01-06 12:45:08 +01:00
Piotr Sarnacki
88ce89d34c [pro-merge] Update views and templates with travis-pro specific code 2014-12-29 18:20:21 +01:00
Piotr Sarnacki
e6800c80c6 Refactor our layout handling
Layout handling in travis-web was implemented in a dynamic way, so we
could change a main layout from any of the routes. This needed a
`rerender` call which was making things harder and needed some hacks. It
also broke a few transitions when upgrading to 1.8.1.

After examining our usage of layouts I've noticed that we don't need to
change the entire layout dynamically and instead we can set layout on
root routes (like "index", "profile" and other root routes).
2014-12-29 18:16:14 +01:00
Piotr Sarnacki
52dea338ee Refactor handling accounts
This commit changes a way we load accounts for profile view:

* instead of using several views with profile controllers, always use
  one view to render hooks. This is achieved by redirecting to
  individual account page from main profile page (for example when going
  into /profile as a user drogus, the effective address will be
  /profile/drogus)
* instead of using observers to wait for accounts to load I just use
  promise in ProfileRoute#model which effectively ensures that accounts
  are loaded at the time we want to select an individual account
* profile controller is split into profile and account controller
2014-05-28 10:23:39 +02:00
Justine Arreche
5500dbb31c removed locales from profile.coffee 2014-01-13 12:05:32 -05:00
Justine Arreche
072e89ad8e removed locale dropdown in profile and removed colon separators 2014-01-10 14:32:30 -05:00
Justine Arreche
69ed05b181 changed gravatar size to 200 for optimized retina displays 2014-01-03 20:24:40 -05:00
Henrik Hodne
e659659861 Download 2x images from Gravatar
This will make them look nicer on Retina screens. We may want to make
them even bigger if people are increasing the size of the page on
Travis, but doing that causes all kinds of alignment issues, so it's not
necessary to do now, I think.
2013-05-22 13:09:24 +02:00
Piotr Sarnacki
6dbcd95c8b Merge branch 'master' into ps-ember-update
Conflicts:
	assets/scripts/travis.coffee
	public/index.html
2013-02-26 12:43:43 +01:00
Randy Morgan
050bdfddb8 Added de locale to profile
This is dependent on https://github.com/travis-ci/travis-core/pull/190
2013-02-25 21:02:02 +09:00
Piotr Sarnacki
4f21b097a8 Fix profile views 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
0b001acfaf Event is no longer passed as an argument to handlers 2013-02-21 23:22:52 +01:00
Randy Morgan
0e727819b0 Updated profile view to support auto-updating locale selection 2012-12-11 13:13:54 +09:00
Randy Morgan
992cbb13f7 Removed unsupported locales from profile.
This should be written to populate from the I18n.translations hash but
for now, I am just getting rid of the ones that do not exist.
2012-12-11 10:55:43 +09:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00