diff options
author | Johan Sørensen <johan@johansorensen.com> | 2009-06-02 10:35:28 +0200 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2009-06-02 10:37:25 +0200 |
commit | 766c691678e2221da38079d724ad496d2c8b9722 (patch) | |
tree | a410219015c1fb672efa2d4831bafb3c9b585201 | |
parent | f6f2523f39e7a33fecaffa8bd91cdf5893220f0c (diff) | |
download | gitorious-mainline-outdated-766c691678e2221da38079d724ad496d2c8b9722.zip gitorious-mainline-outdated-766c691678e2221da38079d724ad496d2c8b9722.tar.gz gitorious-mainline-outdated-766c691678e2221da38079d724ad496d2c8b9722.tar.bz2 |
Make sure the proper icon is rendered for submodule trees
-rw-r--r-- | app/views/trees/show.html.erb | 2 | ||||
-rw-r--r-- | public/stylesheets/base.css | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/trees/show.html.erb b/app/views/trees/show.html.erb index db25535..d280d1b 100644 --- a/app/views/trees/show.html.erb +++ b/app/views/trees/show.html.erb @@ -33,7 +33,7 @@ <% if node.is_a? Grit::Tree -%> <td class="node folder"><%= link_to h(node.basename) + "/", tree_path(@ref, node.name) -%></td> <% elsif node.is_a? Grit::Submodule -%> - <td class="node submodule"><%= h(node.basename) -%></td> + <td class="node submodule"><a href="#"><%= h(node.basename) -%></a></td> <% else -%> <td class="node file <%= class_for_filename(node.name) -%>"><%= link_to h(node.basename), blob_path(@ref, node.name).gsub("%2F","/") -%></td> <% end -%> diff --git a/public/stylesheets/base.css b/public/stylesheets/base.css index 3e271c6..0fa2220 100644 --- a/public/stylesheets/base.css +++ b/public/stylesheets/base.css @@ -603,7 +603,7 @@ table.tree tr td.exec-file a, li.exec-file > a { background-image: url("/images/ table.tree tr td.ruby-file a, li.ruby-file > a { background-image: url("/images/silk/page_white_ruby.png"); } table.tree tr td.compressed-file a, li.compressed-file > a { background-image: url("/images/silk/page_white_compressed.png"); } table.tree tr td.image-file a, li.image-file > a { background-image: url("/images/silk/page_white_picture.png"); } -table.tree tr td.submodule a { background-image: url("/images/silk/folder_database.png"); } +table.tree tr td.submodule a { background-image: url("/images/silk/folder_go.png"); } li.wiki a {background-image: url('/images/silk/book_open.png');} li.memberships a, li.committerships a {background-image: url('/images/silk/group_gear.png');} |