mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
[feature #40] project images will show in full-size on a click
This commit is contained in:
parent
6e94850522
commit
bf9ea40648
@ -1,6 +1,7 @@
|
||||
# Changelog Fab Manager
|
||||
|
||||
## next release
|
||||
- Project images will show in full-size on a click
|
||||
- Add a checkbox "I accept to receive informations from the FabLab" on Sign-up dialog and user's profile
|
||||
- Share project with Facebook/Twitter
|
||||
- Display fab-manager's version in "Powered by" label, when logged as admin
|
||||
@ -50,6 +51,7 @@
|
||||
- Fix a bug: move event reservation is not limited by admin settings (prior-delay & disable)
|
||||
- Fix a bug: UI issues on small devices (dashboard + admin views)
|
||||
- Fix a bug: embedded video not working in training/machine description
|
||||
- Fix a bug: reordering project's steps trigger the unsaved-warning dialog
|
||||
- [TODO DEPLOY] `rake fablab:es_build_availabilities_index`
|
||||
- [TODO DEPLOY] `rake fablab:es_add_event_filters`
|
||||
- [TODO DEPLOY] `rake db:migrate`
|
||||
|
@ -31,7 +31,7 @@
|
||||
<div class="article wrapper-lg">
|
||||
|
||||
<div class="article-thumbnail" ng-if="project.project_image">
|
||||
<a href="{{project.project_image}}" target="_blank"><img ng-src="{{project.project_image}}" alt="{{project.name}}" class="img-responsive"></a>
|
||||
<a href="{{project.project_full_image}}" target="_blank"><img ng-src="{{project.project_image}}" alt="{{project.name}}" class="img-responsive"></a>
|
||||
</div>
|
||||
|
||||
<h3 translate>{{ 'project_description' }}</h3>
|
||||
@ -43,7 +43,7 @@
|
||||
<h3 class="well well-simple step-title">{{ 'step_N' | translate:{INDEX:step.step_nb} }} : {{step.title}}</h3>
|
||||
</div>
|
||||
<div class="col-md-4" ng-if="step.project_step_image">
|
||||
<a href="{{step.project_step_image_url}}" target="_blank"><img class="img-responsive m-b" ng-src="{{step.project_step_image_url}}" alt="{{step.title}}" ></a>
|
||||
<a href="{{step.project_step_full_image_url}}" target="_blank"><img class="img-responsive m-b" ng-src="{{step.project_step_image_url}}" alt="{{step.title}}" ></a>
|
||||
</div>
|
||||
<div class="col-md-8" ng-class="{'col-md-12' : step.project_step_image == undefined}">
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
json.extract! @project, :id, :name, :description, :tags, :created_at, :updated_at, :author_id, :licence_id, :slug
|
||||
json.project_image @project.project_image.attachment.large.url if @project.project_image
|
||||
json.project_full_image @project.project_image.attachment.url if @project.project_image
|
||||
json.author do
|
||||
json.id @project.author_id
|
||||
json.first_name @project.author.profile.first_name
|
||||
@ -52,6 +53,7 @@ json.project_steps_attributes @project.project_steps.order('project_steps.step_n
|
||||
json.title s.title
|
||||
json.project_step_image s.project_step_image.attachment_identifier if s.project_step_image
|
||||
json.project_step_image_url s.project_step_image.attachment.medium.url if s.project_step_image
|
||||
json.project_step_full_image_url s.project_step_image.attachment.url if s.project_step_image
|
||||
json.step_nb s.step_nb
|
||||
end
|
||||
json.state @project.state
|
||||
|
Loading…
x
Reference in New Issue
Block a user