tracks/app/views
Matt Rogers d0c4fee7e4 Don't include a protocol or domain for relative_to_root
Tracks uses this javascript method in the application layout called
`relative_to_root` to get relative paths for a lot of Javascript
functions. However, it includes the fully qualified protocol and domain
for the tracks site in question. If you have Tracks proxied through SSL
with nginx, then you get a non-secure URL which causes the Javascript to
not work to fetch things like contexts or projects for autocomplete.

Instead of using the `root_url` helper that Rails provides that won't
know about SSL, just use a normal forward slash instead, so that you
still get a path that's relative to the root instead of a URL.
2016-02-09 15:36:53 -06:00
..
calendar Remove trailing whitespace and tabs 2014-08-14 21:05:05 -05:00
contexts Merge pull request #1885 from C-Otto/tracks-1789 2015-08-07 20:08:18 -04:00
data added 'es' locale to data/index 2014-09-13 17:07:57 +02:00
feedlist get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
integrations Remove the Google Gadget Integration 2015-08-07 21:31:00 -04:00
layouts Don't include a protocol or domain for relative_to_root 2016-02-09 15:36:53 -06:00
login fix: remember login 2016-01-21 23:45:38 +01:00
notes Merge pull request #1888 from C-Otto/tracks-1882 2015-08-07 21:05:21 -04:00
preferences Update the preferences pages to Bootstrap 2016-01-30 13:49:08 -06:00
projects Extract rendering to helper method. Shift filename sanitization to controller. 2016-02-02 11:08:12 +00:00
recurring_todos Merge pull request #1853 from C-Otto/tracks-1851 2015-08-07 20:34:08 -04:00
search refactor search controller 2013-09-25 15:38:51 +02:00
shared Update the footer to be more responsive 2016-01-12 21:37:44 -06:00
sidebar Add a Sidebar class to represent the side bar 2014-11-11 19:55:00 -06:00
stats use generic CSS class for links in (div) container headers 2015-05-24 14:57:48 +02:00
todos Extract rendering to helper method. Shift filename sanitization to controller. 2016-02-02 11:08:12 +00:00
users Update the preferences pages to Bootstrap 2016-01-30 13:49:08 -06:00