Commit 026b7abc authored by Connor Shea's avatar Connor Shea

Attempt to fix the user page.

parent 0256e683
# 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 .
- page_specific_javascripts asset_path("stat_graph/application.js") - page_specific_javascripts asset_path("graphs/application.js")
%ul.nav-links %ul.nav-links
= nav_link(action: :show) do = nav_link(action: :show) do
= link_to 'Contributors', namespace_project_graph_path = link_to 'Contributors', namespace_project_graph_path
......
- page_title @user.name - page_title @user.name
- page_description @user.bio - page_description @user.bio
- page_specific_javascripts asset_path("users/application.js")
- header_title @user.name, user_path(@user) - header_title @user.name, user_path(@user)
- @no_container = true - @no_container = true
......
...@@ -81,7 +81,8 @@ module Gitlab ...@@ -81,7 +81,8 @@ module Gitlab
config.assets.precompile << "print.css" config.assets.precompile << "print.css"
config.assets.precompile << "notify.css" config.assets.precompile << "notify.css"
config.assets.precompile << "mailers/*.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 # Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.0' config.assets.version = '1.0'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment