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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
7157305d
Commit
7157305d
authored
Jan 23, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning dashboard & tags
parent
98d64925
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
59 deletions
+0
-59
app/controllers/tags_controller.rb
app/controllers/tags_controller.rb
+0
-11
app/views/dashboard/_menu.html.haml
app/views/dashboard/_menu.html.haml
+0
-21
app/views/dashboard/index.html.haml
app/views/dashboard/index.html.haml
+0
-1
app/views/dashboard/issues.html.haml
app/views/dashboard/issues.html.haml
+0
-1
app/views/dashboard/merge_requests.html.haml
app/views/dashboard/merge_requests.html.haml
+0
-1
app/views/tags/index.html.haml
app/views/tags/index.html.haml
+0
-10
config/routes.rb
config/routes.rb
+0
-2
db/schema.rb
db/schema.rb
+0
-12
No files found.
app/controllers/tags_controller.rb
deleted
100644 → 0
View file @
98d64925
class
TagsController
<
ApplicationController
def
index
@tags
=
Project
.
tag_counts
.
order
(
'count DESC'
)
@tags
=
@tags
.
where
(
'name like ?'
,
"%
#{
params
[
:term
]
}
%"
)
unless
params
[
:term
].
blank?
respond_to
do
|
format
|
format
.
html
format
.
json
{
render
json:
@tags
.
limit
(
8
).
map
{
|
t
|
t
.
name
}}
end
end
end
app/views/dashboard/_menu.html.haml
deleted
100644 → 0
View file @
98d64925
-#%h4.dash-tabs
= link_to "Activities", dashboard_path, :remote => true, :class => "dash-button #{"active" if current_page?(dashboard_path) || current_page?(root_path) }", :id => "activities_slide"
= link_to "Issues", dashboard_issues_path, :remote => true, :class => "dash-button #{"active" if current_page?(dashboard_issues_path)}", :id => "issues_slide"
= link_to "Merge Requests", dashboard_merge_requests_path, :remote => true, :class => "dash-button #{"active" if current_page?(dashboard_merge_requests_path)}", :id => "merge_requests_slide"
= image_tag "ajax-loader-facebook.gif", :class => "dashboard-loader"
:javascript
$
(
function
(){
$
(
"
.dash-button
"
).
live
(
"
click
"
,
function
()
{
$
(
"
.dash-button
"
).
removeClass
(
"
active
"
);
$
(
this
).
addClass
(
"
active
"
);
});
$
(
"
.dash-button
"
).
live
(
"
ajax:before
"
,
function
()
{
$
(
"
.dashboard-loader
"
).
show
();
});
$
(
"
.dash-button
"
).
live
(
"
ajax:complete
"
,
function
()
{
$
(
"
.dashboard-loader
"
).
hide
();
});
});
app/views/dashboard/index.html.haml
View file @
7157305d
...
...
@@ -2,5 +2,4 @@
#dashboard-content
.dashboard-content.content
=
render
"dashboard/sidebar"
=
render
"dashboard/menu"
#news-feed
.news-feed
=
render
"dashboard/projects_feed"
app/views/dashboard/issues.html.haml
View file @
7157305d
...
...
@@ -2,5 +2,4 @@
#dashboard-content
.dashboard-content.content
=
render
"dashboard/sidebar"
=
render
"dashboard/menu"
#news-feed
.news-feed
=
render
"dashboard/issues_feed"
app/views/dashboard/merge_requests.html.haml
View file @
7157305d
...
...
@@ -2,5 +2,4 @@
#dashboard-content
.dashboard-content.content
=
render
"dashboard/sidebar"
=
render
"dashboard/menu"
#news-feed
.news-feed
=
render
"dashboard/merge_requests_feed"
app/views/tags/index.html.haml
deleted
100644 → 0
View file @
98d64925
-
content_for
(
:body_class
,
"projects-page"
)
-
content_for
(
:page_title
)
do
.grid_4
%h2
Tags
.tags-list
-
@tags
.
all
.
each
do
|
tag
|
=
link_to
"
#{
tag
.
name
}
(
#{
tag
.
count
}
)"
,
tag_path
(
name
)
config/routes.rb
View file @
7157305d
...
...
@@ -4,8 +4,6 @@ Gitlab::Application.routes.draw do
require
'resque/server'
mount
Resque
::
Server
.
new
,
at:
'/info/resque'
get
'tags'
=>
'tags#index'
get
'tags/:tag'
=>
'projects#index'
get
'help'
=>
'help#index'
namespace
:admin
do
...
...
db/schema.rb
View file @
7157305d
...
...
@@ -13,18 +13,6 @@
ActiveRecord
::
Schema
.
define
(
:version
=>
20120121122616
)
do
create_table
"features"
,
:force
=>
true
do
|
t
|
t
.
string
"name"
t
.
string
"branch_name"
t
.
integer
"assignee_id"
t
.
integer
"author_id"
t
.
integer
"project_id"
t
.
datetime
"created_at"
t
.
datetime
"updated_at"
t
.
string
"version"
t
.
integer
"status"
,
:default
=>
0
,
:null
=>
false
end
create_table
"issues"
,
:force
=>
true
do
|
t
|
t
.
string
"title"
t
.
integer
"assignee_id"
...
...
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