Conflicts:
app/assets/stylesheets/projects.css.scss
}
}
+.add_new {
+ float:right;
+ padding: 5px 12px;
+ border: 1px solid #CCC;
+
+ &:hover {
+ background:#eee;
+ }
+
+ &:active {
+ background:#ddd;
+ }
+}
+
+.tree_progress {
+ float:left;
+ width:16px;
+ height:16px;
+ margin:6px;
+ &.loading {
+ background-position: 0px 0px;
+ background: url("ajax-loader-facebook.gif") no-repeat;
+ }
+}
+
+#tree-breadcrumbs {
+ h2 {
+ margin:0;
+ margin-bottom:20px;
+ float:left;
+ }
+}
++
+ tr.line_notes_row {
+ &:hover {
+ background:none;
+ }
+ td {
+ margin:0px;
+ padding:0px;
+ border-bottom:1px solid #DEE2E3;
+
+
+ ul {
+ display:block;
+ list-style:none;
+ margin:0px;
+ padding:0px;
+
+ li {
+ border-top:1px solid #DEE2E3;
+ padding:10px;
+
+ .delete-note {
+ display:none;
+ }
+ }
+ }
+ }
+ }
= render "commits/diff"
= render "notes/notes"
- $(".line_content").live("click", function(e) {
+ = render "notes/per_line_form"
+
+
+ :javascript
+ $(document).ready(function(){
++ $(".line_content").live("dblclick", function(e) {
+ var form = $(".per_line_form");
+ $(this).parent().after(form);
+ form.find("#note_line_code").val($(this).attr("line_code"));
+ form.show();
+ });
+ });