gitlab_reviewable 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/review.haml +40 -28
- data/lib/gitlab_reviewable/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4c097cb78accd58c52f9cb149ff9d9901d58a72
|
4
|
+
data.tar.gz: 4230d90a33faa853d62e00e0d31ed120e4fbb922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8048c167127987d6765dae7348e13e5a888515316d8c99b2f3197b05e14fd8b131313e2973ee4b442f4e8f2826682879d9c6abdc63536e6291f175aa80b61098
|
7
|
+
data.tar.gz: fc8e50cba6e8baa63190b634d8340611b9ef534ed7f68ab2e58c26dad77214bf4c844b04320603fdace2ba29e31fc111227e5302eb1709831f5583c03f92baba
|
@@ -1,34 +1,46 @@
|
|
1
1
|
!!! 5
|
2
2
|
%html{ lang: "en"}
|
3
3
|
= render "layouts/head"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
-
|
9
|
-
|
10
|
-
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
4
|
+
- if current_user
|
5
|
+
%body{class: "#{user_application_theme}", 'data-page' => body_data_page}
|
6
|
+
-# Ideally this would be inside the head, but turbolinks only evaluates page-specific JS in the body.
|
7
|
+
- project = @target_project || @project
|
8
|
+
- if @project_wiki
|
9
|
+
- markdown_preview_path = namespace_project_wikis_markdown_preview_path(project.namespace, project)
|
10
|
+
- else
|
11
|
+
- markdown_preview_path = markdown_preview_namespace_project_path(project.namespace, project)
|
12
|
+
- if current_user
|
13
|
+
:javascript
|
14
|
+
window.project_uploads_path = "#{namespace_project_uploads_path project.namespace,project}";
|
15
|
+
window.markdown_preview_path = "#{markdown_preview_path}";
|
15
16
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
17
|
+
.page-with-sidebar
|
18
|
+
- if defined?(nav) && nav
|
19
|
+
.layout-nav
|
20
|
+
.container-fluid
|
21
|
+
= render "layouts/nav/#{nav}"
|
22
|
+
.content-wrapper{ class: "#{layout_nav_class} #{layout_dropdown_class}" }
|
23
|
+
= render "layouts/broadcast"
|
24
|
+
= render "layouts/flash"
|
25
|
+
= yield :flash_message
|
26
|
+
%div{ class: (container_class unless @no_container) }
|
27
|
+
.content
|
28
|
+
.clearfix
|
29
|
+
= yield
|
29
30
|
|
30
|
-
|
31
|
+
= render "layouts/init_auto_complete" if current_user
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
33
|
+
- page_title @project.name_with_namespace
|
34
|
+
- page_description @project.description unless page_description
|
35
|
+
- header_title project_title(@project) unless header_title
|
36
|
+
- else
|
37
|
+
.login-tips
|
38
|
+
老板, 您还没有在 Gitlab 上
|
39
|
+
= link_to '登录', new_user_session_path, target: "_blank"
|
40
|
+
呢~
|
41
|
+
:css
|
42
|
+
.login-tips {
|
43
|
+
width: 300px;
|
44
|
+
margin: 0 auto;
|
45
|
+
margin-top: 20px;
|
46
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab_reviewable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lenghan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|