Fixed group issues/mr. Also speedup project list of admin area
This commit is contained in:
parent
c626ec3746
commit
d88332709c
5 changed files with 16 additions and 6 deletions
|
@ -12,7 +12,6 @@
|
|||
%th Name
|
||||
%th Path
|
||||
%th Team Members
|
||||
%th Post Receive
|
||||
%th Last Commit
|
||||
%th Edit
|
||||
%th.cred Danger Zone!
|
||||
|
@ -22,7 +21,6 @@
|
|||
%td= link_to project.name, [:admin, project]
|
||||
%td= project.path
|
||||
%td= project.users_projects.count
|
||||
%td= check_box_tag :post_receive_file, 1, project.has_post_receive_file?, disabled: true
|
||||
%td= last_commit(project)
|
||||
%td= link_to 'Edit', edit_admin_project_path(project), id: "edit_#{dom_id(project)}", class: "btn small"
|
||||
%td.bgred= link_to 'Destroy', [:admin, project], confirm: "REMOVE #{project.name}? Are you sure?", method: :delete, class: "btn small danger"
|
||||
|
|
|
@ -5,6 +5,15 @@
|
|||
%i.icon-edit
|
||||
Edit
|
||||
|
||||
- if !@admin_project.has_post_receive_file? && @admin_project.commit
|
||||
%br
|
||||
.alert.alert-error
|
||||
%span
|
||||
%strong Important!
|
||||
Project has commits but missing post-receive file.
|
||||
%br
|
||||
If you exported project manually - copy post-receive hook to bare repository
|
||||
|
||||
%br
|
||||
%table.zebra-striped
|
||||
%thead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue