- Jul 29, 2015
-
-
Alice Heaton authored
Allow the chart count widget to have a time period. When present, apply the time period and display a legend detailing what the time period is.
-
Alice Heaton authored
-
Alice Heaton authored
Allow widgets to display error messages in the front end by raising a WidgetError (while other exceptions only display a generic message so as to avoid potential security leak)
-
Martin Burchell authored
The transport layer term_itemcount when called with a date range now returns terms that fall outside the range with count=0.
-
- Jul 28, 2015
-
-
Martin Burchell authored
-
Jay Alvarez authored
-- replaced {{name}} with {{title}} on chart widget template -- added h2 tag around bar chart table template title -- fixed icon span class
-
Martin Burchell authored
-
Alice Heaton authored
ViewItem.get_category_options should return the options as we want them - we shouldn't have to process them later. So make sure it returns (short question, short question) as we want both the value and the text to use the short version.
-
Jay Alvarez authored
-
Alice Heaton authored
-
Jay Alvarez authored
-
Jay Alvarez authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Jay Alvarez authored
-
Jay Alvarez authored
-- view-edit screen has no padding around table -- developed by aptivate - disappears on smaller screens -- view-edit screen has no padding around table
-
Martin Burchell authored
-
Jay Alvarez authored
-- page-title disappears under header on tablet width -- page-title has no padding/margin on left side on smaller screen
-
Alice Heaton authored
-
Alice Heaton authored
Refactor add_items_categories and add_categories into a single call, and make the taxonomy slug configurable at that level (it's now hard-coded in process_items). Update tests to match the change and ensure we can update multiple items at the same time.
-
Jay Alvarez authored
-
- Jul 27, 2015
-
-
Alice Heaton authored
-
Alice Heaton authored
Make the default empty batch command a line of dashes under the 'Actions' header. We can't really do better than that without js.
-
Alice Heaton authored
-
Jay Alvarez authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Alice Heaton authored
-
Martin Burchell authored
This is now not returning zero for items that fall outside the range. This is probably not what we want.
-
Alice Heaton authored
Re-introduce the per-row drop down to update each record's category as well as the mirrored buttons at the bottom of the page. This means that we have a single form that can either do a batch update, or an update of values set per row. The different action is determined by the submit button that was used - which is always named 'action'. Because we have a mirrored select drop down for the batch action, we need to know which one to take into account - so the value of the submit button indiciates which one was clicked, of the form <action>-<placement> (eg. save-top) and the name of mirrored inputs indidicate where they are located, of the form <name>-<placement> (eg. batchaction-bottom). The ViewItems class has a static method to find the active placement and rename the parameters accordingly. Some of the old code was re-introduced, though some of it was refactored (eg. what used to be get_categories, to fetch each row's selected category, has been moved to ItemTable to parallel get_selected, and is now named get_row_select_value (it's a more generic version, looking at the future when we'll update the region with the same mechanism.)
-
Jay Alvarez authored
-
Jay Alvarez authored
-
Martin Burchell authored
-
Martin Burchell authored
-
Jay Alvarez authored
-
- Jul 24, 2015
-
-
Jay Alvarez authored
-
Martin Burchell authored
-