Commit graph

30 commits

Author SHA1 Message Date
Arinde Eniola
367818d293 change the css class has_tooltip to has-tooltip universally 2016-03-20 21:37:22 +01:00
Dmitriy Zaporozhets
7455d950bc
Refactor projects list
1. Fix double bottom border if pagination
2. Fix broken search on forks page
4. Remove duplicate js logic
4. Remove unused show all link
5. Remove duplicate “no project” message in different views

After this merge request you can easily render shared projects template
with all necessary html/js included to make searchable list with
pagination. All you need to provide is controller that returns
projects list with seach nad pagination and render html form with
project-filter-form id and text field with filter_projects name.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-03 13:09:58 +01:00
Rubén Dávila
f96ce4079f Improve implementation to check read access to forks and add pagination. 2016-02-26 19:34:52 -05:00
Rubén Dávila
4d1e82e0bb Don't show fork button if user can't fork the project. 2016-02-11 19:02:52 -05:00
Josh Frye
cf8a74be5f Cleanup to use one selector 2016-02-09 20:21:47 -05:00
Dmitriy Zaporozhets
ad5acec6e5 Make nav-controls responsive and hide on extra small screens
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-03 16:14:11 +01:00
Dmitriy Zaporozhets
4beae990b3 Refactor nav controls section (search and new project/group btn)
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-03 16:14:11 +01:00
Rubén Dávila
e9246148a6 Refactor some CSS rules. 2016-01-20 00:17:21 -05:00
Rubén Dávila
a091483b7a Some fixes from last code review. 2016-01-20 00:17:21 -05:00
Rubén Dávila
91bd0bf99e Some CSS and sorting fixes. 2016-01-20 00:17:21 -05:00
Rubén Dávila
833a0f4d9f Add icon for private forks notice. #2406 2016-01-20 00:17:21 -05:00
Rubén Dávila
40e1ad9052 Add ability to sort forks. #2406 2016-01-20 00:14:58 -05:00
Jacob Schatz
af501845dd aligns menu at top on one row 2016-01-20 00:14:58 -05:00
Rubén Dávila
5cba592469 WIP: Add sort dropdown. #2406 2016-01-20 00:14:58 -05:00
Rubén Dávila
b0a5a99e96 Little update to copy and custom content for empty results. #2406 2016-01-20 00:14:58 -05:00
Rubén Dávila
b6170d2d8b Show last commit as description. #2406 2016-01-20 00:14:58 -05:00
Rubén Dávila
f0b7dcba30 Add ability to filter by namespace. #2406 2016-01-20 00:14:58 -05:00
Rubén Dávila
3b75d65bd3 Show forks counter on listing. #2406 2016-01-20 00:14:58 -05:00
Rubén Dávila
b2e5b57fab Add fork button and implement ability to distinguish between public and protected forks. #2406 2016-01-20 00:14:58 -05:00
Rubén Dávila
2b05bf4be5 Use Project creator's avatar in fork listing. #2406 2016-01-20 00:14:58 -05:00
Rubén Dávila
7765ce1875 Setup new fork link in sidebar and routes. #2406 2016-01-20 00:14:58 -05:00
Douwe Maan
d9c82d679f Automatically fork a project when not allowed to edit a file. 2015-12-18 10:03:34 +01:00
Drew Blessing
fce4f13803 Show message if user tries to fork and has no available namespaces 2015-10-08 15:20:19 -05:00
Dmitriy Zaporozhets
df51b029ab
Improve project fork page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-10 13:14:25 +02:00
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Vinnie Okada
76aad9b76e Upgrade to Rails 4.1.9
Make the following changes to deal with new behavior in Rails 4.1.2:

* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Dmitriy Zaporozhets
f2f7b5a18e Better wording 2015-01-28 15:37:20 -08:00
Dmitriy Zaporozhets
34b7472b33 Improve wording for fork project page 2015-01-28 14:20:00 -08:00
Dmitriy Zaporozhets
2388fdd7c6
Improve fork to namespaces feature
* Show namespace thumbnail differently if project was already forked
* Show loading spinner when click on fork
* Fork link navigates to personal namespace only if no manageable groups exists

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-14 16:06:39 +02:00
Dmitriy Zaporozhets
e08e405ac4
Select namespace where to fork project
Now you can fork project into group or personal namespace.
Also I moved fork logic from ProjectsController to own fork resource

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-11-13 22:06:19 +02:00