aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/workbenches/show.html.slim
AgeCommit message (Collapse)Author
2018-05-09Refs #6863 Display import & export actions on conditions6863-workbench-showcedricnjanga
2018-04-30Workbenches#show: Don't allow pending referentials to be selected6858-workbenches-show--disallow-deletion-of-pending-referentTeddy Wing
Disable the checkboxes next to pending referentials. This prevents them from being deleted by the batch deletion operation. In general it seems like we shouldn't be operating on pending referentials, so if any new batch actions are added, it would make sense to me for the checkboxes to stay disabled. We want to disallow deletion of pending referentials because this can put the data in an inconsistent state that requires manual intervention to clean (I think). Refs #6858
2018-04-27Refs #6572; Update filters on referentials listZog
2018-04-06Refs #6442 Fix Referential sort on status (attr archived_at)6442-referential-status-sortcedricnjanga
2018-03-26Refs #6218; Add link to exports viewZog
2018-03-02Refs #3562 add workbench edit button on workbench#showcedricnjanga
2018-02-20Refs #5863 @6h; Remove workbench id from the querystringZog
Infer it when possible, and use a nested otherwise
2018-02-09Refs #4126 @6h; Add i18n to JSZog
2018-01-25Refs #5586 @2h; Fix specsZog
2018-01-11Add Referential#merged_at and make Referentials archived and merged. Refs #5559Alban Peignier
2018-01-09Refs: #5413@0.5h; Refactoring of #archived_or_finalised?Robert
2018-01-08Fixes: #5413@1h; Specs implementedRobert
2018-01-05Create first merge interface. Refs #5299Alban Peignier
2017-12-19Refs #5291@0.5h; Update viewZog
Update the view to match the actual controller behaviour.
2017-12-07Refs: #5198@1.5h; Specing the presence of the Modal Action BoxRobert
- verifying the visibility of the action box - no dynamic behavior of the action box is verified (yet?) - would need javascript execution - refactoring suggestions --> https://projects.af83.io/issues/5206
2017-11-28Refactoring pageheaderXinhui
2017-10-26Fix workbench show breadcrumb4726-breadcrumbXinhui
2017-10-18Render breadcrumb for referential - time_tables - workbenchesXinhui
Refs #4741
2017-10-09Working standard webpacker configcedricnjanga
2017-10-06Add webpacker gem and migrate the React appscedricnjanga
2017-09-11Update of ReferentialsController#new :cedricnjanga
- Add some context to referential and workbench decorator to access current_referential and assign it to the cloned referential - Add a build_referential method to avoir duplicates of code (in the controller and in the model), need to clean a bit more - Need to add some Spec features to take into account the functional scope of the current_user
2017-09-06Updated imports#index date filter : used the same logic for the ↵cedricnjanga
Calendar#index date filter (ransackable scope) I realized that we could submit the form with incomplete date which caused an 500 error. So I added a small JS script to prevent user from subnitting filter form with incomplete dates Since it was really similar with previous work I added two folders : /helpers & /filters to be more DRY The JS files are loaded in 4 views for the moment, hence the update in the assets.rb file
2017-09-05Referential#new_from :cedricnjanga
Added params to certains paths to have the workbench_id in it. The goal is to have the current workbench_id to assign it when do a Referential#new_from Then I finished the use of the functional scope to avoid potential errors I skipped some tests that hve a #TODO so we can easily find them
2017-09-01TableBuilderHelper: Test out column-specific `#link_to`Teddy Wing
Testing out the new `TableBuilderHelper::Column#link_to` method to provide the link needed to go to the row object's #show page. Seems to work in this context, which is promising!
2017-08-30Updating project-specific iconfont for page headers (in views)jpl
2017-07-31Refs #4005 Period filters for time_table and referentialscedricnjanga
2017-07-26Add some translationscedricnjanga
2017-07-25Hide import button depending on Referential#create? policycedricnjanga
2017-07-04Refs #3961: updating wordingjpl
2017-06-15MultipleSelectionToolbox: Clean up code; Add to workbenches/show.htmlTeddy Wing
Keep the helper code globally the same. Changes: * Remove `if action == :edit` since we never execute that branch. In fact, the only place we ever use the multiple selection toolbox in conjunction with the table builder is on Workbenches#show, and that page only uses a :delete action. * Rename `dPath` to be clearer * Add some whitespace to improve readability * Rename `actitem` to `action_link` for better readability * Connect the links and label with `#+` instead of `#concat` Add the toolbox to "workbenches/show.html.slim" to get the page looking like it was before I changed the table builder. Needed to wrap the table and toolbox in a `<div class="select_table">` in order for the JavaScript part of it to work (otherwise selection wouldn't activate the link, and likely other stuff would be messed up too). Now that the table builder and the selection toolbox are separate, it makes sense to put the "select_table" `<div>` in the template. Refs #3479
2017-06-14workbenches/show.html.slim: Remove duplicate links in `table_builder`Teddy Wing
Now that we have the [:archive, :unarchive, :delete] links present in `ReferentialDecorator#action_links`, we don't need to include them here. Otherwise the links are duplicated between the custom links defined here and those that come from the `ReferentialDecorator`. Refs #3479
2017-06-12workbenches/show.html.slim: Convert table_builder to new columnsTeddy Wing
Use our new column syntax to build the table, creating `TableBuilderHelper::Column` objects for each column. This gets our table rendering again with the new `table_builder_2` code. Remove the old table builder code as we're going to switch entirely to this one. Get rid of the TODO about the =>s as it's no longer relevant. Refs #3479
2017-06-09TableBuilderHelper: Correct `selectable` behaviourTeddy Wing
I had coded this the opposite of what it should have been. Instead, if `selectable` is true, we should show the selection checkboxes. Invert the conditions and add `selectable: true` to the `table_builder_2` calls that expect a checkbox column. Also remove the TODO because this argument is necessary. Refs #3479
2017-06-08workbenches/show.html.slim: Temporarily change to `table_builder_2`Teddy Wing
Use this page as a visual testing ground for the new table builder. Currently just verifying that nothing obvious changes visually. Eventually we'll convert this page for real, but the API for the updated table builder isn't finalised yet. Refs #3479
2017-04-24Refs #3149: fixing some tests, contains_date method has to be fixedjpl
2017-04-24Refs #3149: updating layoutjpl
2017-04-20Refs #3146 : Add Imports button to workbenches#showVlatka Pavisic
2017-04-19Refs #3128 : Check organisation match for referentialsVlatka Pavisic
2017-04-13Refs #3128 : Modify ReferentialPolicy to check user permissionsVlatka Pavisic
2017-03-31Refs #3013: updating status columns/filters, with new icon setjpl
2017-03-30Refs #3013: updating status filter, adding tmp status pics (waiting for ↵jpl
design sources
2017-03-30Refs #3004: removing updated_at from index viewsjpl
2017-03-30Refs #3002: updating pagination on viewsjpl
2017-03-20updating pagination display according to last commitjpl
2017-03-20Refs #2706: Fix lines.count sorting on workbenches#showjpl
2017-03-17Refs #2859: fix wording issuesjpl
2017-03-17Fix i18n issuesjpl
2017-03-15Refs #2800: updating table_builder to fix some issues in sortable columns ↵jpl
(first pass)
2017-03-15Wip combine filter in #index viewsXinhui
2017-03-02Refs #2704: updating filter/search bars on every instancejpl