mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
adds licence in projects/show
This commit is contained in:
parent
4686a8c843
commit
e0c721cff7
@ -132,9 +132,15 @@
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
|
||||
<section class="widget panel b-a m" ng-if="project.licence">
|
||||
<div class="panel-heading b-b">
|
||||
<h3>Licence</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{{ project.licence.name }}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -54,3 +54,6 @@ json.project_steps_attributes @project.project_steps.order('project_steps.create
|
||||
json.project_step_image_url s.project_step_image.attachment_url if s.project_step_image
|
||||
end
|
||||
json.state @project.state
|
||||
json.licence do
|
||||
json.name @project.licence.name
|
||||
end if @project.licence.present?
|
||||
|
Loading…
x
Reference in New Issue
Block a user