File tree Expand file tree Collapse file tree
themes/openstack/templates/Layout/Includes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ function init()
7171 Requirements::javascript ('themes/openstack/javascript/community-bis.js ' );
7272 }
7373
74+ function getProjectGroups () {
75+ $ groups = OpenStackComponentSubCategory::get ();
76+
77+ return $ groups ;
78+ }
79+
7480 function getComponentsByGroup ($ group ) {
7581 return OpenStackComponent::get ()->filter ('Use ' , $ group );
7682 }
Original file line number Diff line number Diff line change 55 </div>
66 <% loop $ProjectGroups %>
77 <div class=" col-md-4 col-sm-6 nav-first-group-btn" >
8- <a class=" project-group-button btn btn-success" data-toggle=" collapse" data-target=" #projectgroup_{$Key }" >
8+ <a class=" project-group-button btn btn-success" data-toggle=" collapse" data-target=" #projectgroup_{$ID }" >
99 $Name
1010 </a>
1111 </div>
2626</div>
2727
2828<% loop $ProjectGroups %>
29- <div id=" projectgroup_{$Key }" class=" collapse project-options row" >
29+ <div id=" projectgroup_{$ID }" class=" collapse project-options row" >
3030 <div class=" line" ><div class=" triangle" ></div></div>
3131 <div class=" col-md-12" >
3232 <h2>Select the project you would like to contribute to...</h2>
3535 Once you select the project you are interested in contributing to, you will see an in depth guide to contributing.
3636 The first step is as easy as that! Don't see the project you are interested in? <a href=" " class=" clear-groups" >Select another project group</a>
3737 </div>
38- <% loop $Top.getComponentsByGroup($Name ) %>
38+ <% loop $OpenStackComponents( ) %>
3939 <div class=" col-md-4 col-sm-6" >
4040 <a class=" project-button btn btn-success" href=" https://docs.openstack.org/{$Slug}" >
4141 <div class=" col-md-2 col-sm-2 col-xs-2" >
You can’t perform that action at this time.
0 commit comments