Commit a5058229e4aed71530074b397a1a5f3290f3e4ae

Authored by Dmitriy Zaporozhets
1 parent 22bb925a

restored .git-url, truncate project name for thumb

app/assets/stylesheets/style.scss
... ... @@ -569,10 +569,8 @@ body.project-page .page-title{margin-bottom: 0}
569 569 body.project-page .project-sidebar {width: 220px; left: 0; top: 0; height: 100%; bottom: 0; position: absolute; background-color: #f7f7f7; float: left; display: inline-block; background: #f7f7f7; padding: 20px 0 20px 2%; margin: 0; }
570 570  
571 571 body.project-page input.text.git-url,
572   -body.projects-page input.text.git-url{ font-size: 12px; border-radius: 5px; color: #666; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; padding: 5px 14px 5px 30px; margin-bottom: 20px; background: white url('images.png') no-repeat 8px -43px;width:100%;border:0;}
573   -
  572 +body.projects-page input.text.git-url { font-size: 12px; border-radius: 5px; color: #666; box-shadow: 0 1px 2px rgba(0,0,0,.2) inset; padding: 8px 14px 8px 30px; margin-bottom: 20px; background: white url('images.png') no-repeat 8px -40px;}
574 573 body.projects-page input.text.git-url {margin:10px 0 0 }
575   -
576 574 .git_url_wrapper { margin-right:50px }
577 575  
578 576 .projects_selector:hover > .project-box{ -moz-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); -webkit-box-shadow:0px 0px 10px rgba(0, 0, 0, .5); box-shadow:0px 0px 10px rgba(0, 0, 0, .5); }
... ...
app/views/projects/_tile.html.haml
... ... @@ -3,7 +3,7 @@
3 3 %div.grid_1.projects_selector
4 4 %div{ :class => "project-box ui-box ui-box-big" }
5 5 = link_to project_path(project) do
6   - %h3= project.name
  6 + %h3= truncate(project.name, :length => 20)
7 7 .data
8 8 %p.title.repository.git_url_wrapper
9 9 %span Repository:
... ...