Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
442d5dbe
Commit
442d5dbe
authored
Mar 27, 2012
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed yellow background in markdown documents
parent
474a42cf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
20 deletions
+24
-20
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+4
-0
app/views/wikis/show.html.haml
app/views/wikis/show.html.haml
+2
-2
db/schema.rb
db/schema.rb
+18
-18
No files found.
app/assets/stylesheets/common.scss
View file @
442d5dbe
...
@@ -1145,3 +1145,7 @@ li.note {
...
@@ -1145,3 +1145,7 @@ li.note {
max-width
:
100%
;
max-width
:
100%
;
}
}
}
}
.wiki_content
code
,
.readme
code
{
background-color
:
inherit
;
}
app/views/wikis/show.html.haml
View file @
442d5dbe
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
=
link_to
edit_project_wiki_path
(
@project
,
@wiki
),
:class
=>
"btn small"
do
=
link_to
edit_project_wiki_path
(
@project
,
@wiki
),
:class
=>
"btn small"
do
Edit
Edit
%hr
%hr
.wiki_content
=
markdown_to_html
@wiki
.
content
=
markdown_to_html
@wiki
.
content
%p
.time
Last edited by
#{
@wiki
.
user
.
name
}
, in
#{
time_ago_in_words
@wiki
.
created_at
}
%p
.time
Last edited by
#{
@wiki
.
user
.
name
}
, in
#{
time_ago_in_words
@wiki
.
created_at
}
-
if
can?
current_user
,
:admin_wiki
,
@project
-
if
can?
current_user
,
:admin_wiki
,
@project
...
...
db/schema.rb
View file @
442d5dbe
...
@@ -30,8 +30,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -30,8 +30,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
t
.
integer
"assignee_id"
t
.
integer
"assignee_id"
t
.
integer
"author_id"
t
.
integer
"author_id"
t
.
integer
"project_id"
t
.
integer
"project_id"
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
boolean
"closed"
,
:default
=>
false
,
:null
=>
false
t
.
boolean
"closed"
,
:default
=>
false
,
:null
=>
false
t
.
integer
"position"
,
:default
=>
0
t
.
integer
"position"
,
:default
=>
0
t
.
boolean
"critical"
,
:default
=>
false
,
:null
=>
false
t
.
boolean
"critical"
,
:default
=>
false
,
:null
=>
false
...
@@ -43,8 +43,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -43,8 +43,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
create_table
"keys"
,
:force
=>
true
do
|
t
|
create_table
"keys"
,
:force
=>
true
do
|
t
|
t
.
integer
"user_id"
t
.
integer
"user_id"
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
text
"key"
t
.
text
"key"
t
.
string
"title"
t
.
string
"title"
t
.
string
"identifier"
t
.
string
"identifier"
...
@@ -59,8 +59,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -59,8 +59,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
t
.
integer
"assignee_id"
t
.
integer
"assignee_id"
t
.
string
"title"
t
.
string
"title"
t
.
boolean
"closed"
,
:default
=>
false
,
:null
=>
false
t
.
boolean
"closed"
,
:default
=>
false
,
:null
=>
false
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
text
"st_commits"
t
.
text
"st_commits"
t
.
text
"st_diffs"
t
.
text
"st_diffs"
t
.
boolean
"merged"
,
:default
=>
false
,
:null
=>
false
t
.
boolean
"merged"
,
:default
=>
false
,
:null
=>
false
...
@@ -73,8 +73,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -73,8 +73,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
t
.
string
"noteable_id"
t
.
string
"noteable_id"
t
.
string
"noteable_type"
t
.
string
"noteable_type"
t
.
integer
"author_id"
t
.
integer
"author_id"
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
integer
"project_id"
t
.
integer
"project_id"
t
.
string
"attachment"
t
.
string
"attachment"
t
.
string
"line_code"
t
.
string
"line_code"
...
@@ -87,8 +87,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -87,8 +87,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
t
.
string
"name"
t
.
string
"name"
t
.
string
"path"
t
.
string
"path"
t
.
text
"description"
t
.
text
"description"
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
boolean
"private_flag"
,
:default
=>
true
,
:null
=>
false
t
.
boolean
"private_flag"
,
:default
=>
true
,
:null
=>
false
t
.
string
"code"
t
.
string
"code"
t
.
integer
"owner_id"
t
.
integer
"owner_id"
...
@@ -111,8 +111,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -111,8 +111,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
t
.
text
"content"
t
.
text
"content"
t
.
integer
"author_id"
,
:null
=>
false
t
.
integer
"author_id"
,
:null
=>
false
t
.
integer
"project_id"
,
:null
=>
false
t
.
integer
"project_id"
,
:null
=>
false
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
string
"file_name"
t
.
string
"file_name"
t
.
datetime
"expires_at"
t
.
datetime
"expires_at"
end
end
...
@@ -145,8 +145,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -145,8 +145,8 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
t
.
datetime
"last_sign_in_at"
t
.
datetime
"last_sign_in_at"
t
.
string
"current_sign_in_ip"
t
.
string
"current_sign_in_ip"
t
.
string
"last_sign_in_ip"
t
.
string
"last_sign_in_ip"
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
string
"name"
t
.
string
"name"
t
.
boolean
"admin"
,
:default
=>
false
,
:null
=>
false
t
.
boolean
"admin"
,
:default
=>
false
,
:null
=>
false
t
.
integer
"projects_limit"
,
:default
=>
10
t
.
integer
"projects_limit"
,
:default
=>
10
...
@@ -165,16 +165,16 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
...
@@ -165,16 +165,16 @@ ActiveRecord::Schema.define(:version => 20120323221339) do
create_table
"users_projects"
,
:force
=>
true
do
|
t
|
create_table
"users_projects"
,
:force
=>
true
do
|
t
|
t
.
integer
"user_id"
,
:null
=>
false
t
.
integer
"user_id"
,
:null
=>
false
t
.
integer
"project_id"
,
:null
=>
false
t
.
integer
"project_id"
,
:null
=>
false
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
t
.
integer
"project_access"
,
:default
=>
0
,
:null
=>
false
t
.
integer
"project_access"
,
:default
=>
0
,
:null
=>
false
end
end
create_table
"web_hooks"
,
:force
=>
true
do
|
t
|
create_table
"web_hooks"
,
:force
=>
true
do
|
t
|
t
.
string
"url"
t
.
string
"url"
t
.
integer
"project_id"
t
.
integer
"project_id"
t
.
datetime
"created_at"
,
:null
=>
false
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
datetime
"updated_at"
end
end
create_table
"wikis"
,
:force
=>
true
do
|
t
|
create_table
"wikis"
,
:force
=>
true
do
|
t
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment