Attempt to fix the user page.

This commit is contained in:
Connor Shea 2016-05-31 18:25:33 -06:00
parent 0256e68399
commit 026b7abc5a
No known key found for this signature in database
GPG Key ID: E52237E5B35A83E6
10 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,8 @@
# This is a manifest file that'll be compiled into including all the files listed below.
# Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
# be included in the compiled file accessible from http://example.com/assets/application.js
# It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
# the compiled file.
#
#= require d3
#= require_tree .

View File

@ -1,4 +1,4 @@
- page_specific_javascripts asset_path("stat_graph/application.js")
- page_specific_javascripts asset_path("graphs/application.js")
%ul.nav-links
= nav_link(action: :show) do
= link_to 'Contributors', namespace_project_graph_path

View File

@ -1,5 +1,6 @@
- page_title @user.name
- page_description @user.bio
- page_specific_javascripts asset_path("users/application.js")
- header_title @user.name, user_path(@user)
- @no_container = true

View File

@ -81,7 +81,8 @@ module Gitlab
config.assets.precompile << "print.css"
config.assets.precompile << "notify.css"
config.assets.precompile << "mailers/*.css"
config.assets.precompile << "stat_graph/application.js"
config.assets.precompile << "graphs/application.js"
config.assets.precompile << "users/application.js"
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0'