Commit Graph

1022 Commits

Author SHA1 Message Date
chrisndodge
b76e7387aa Merge pull request #452 from edx/feature/cdodge/add-jump-to-substituions
add a /jump_to_id/ shortcut for producing more durable links between cou...
2013-07-23 12:15:31 -07:00
jkarni
3a5e1c7021 Merge pull request #463 from edx/fix/jkarni/linkoutline
Link section to course outline
2013-07-23 10:59:11 -07:00
Brian Talbot
059450c0de Studio: revises HTML and styling around new unit ID on unit view 2013-07-23 12:10:49 -04:00
Chris Dodge
1c79b9c874 add a /jump_to_id/ shortcut for producing more durable links between courseware in Studio 2013-07-23 12:10:49 -04:00
David Baumgold
89705f275d Merge pull request #461 from edx/db/change-asset-to-pdf
Change "asset" to "PDF" in textbooks interface
2013-07-23 06:49:39 -07:00
Brian Talbot
4a3b680ee6 Merge pull request #447 from edx/talbs/studio-fix-title
Studio: adds a space back to the phrase 'Welcome to edX Studio'
2013-07-22 13:27:46 -07:00
Julian Arni
4f9a290a32 Link section to course outline 2013-07-22 14:26:47 -04:00
David Baumgold
ca2bb0e850 PDF Upload button now refers to "PDF" rather than "asset" 2013-07-22 12:54:31 -04:00
Calen Pennington
cba9827a91 Merge pull request #443 from edx/tsinghuax/cms-i18n-leftovers
CMS i18n changes from Tsinghua
2013-07-22 08:32:12 -07:00
Brian Talbot
4a7e793ab2 Studio: revises spacing fix for welcome to edX studio title 2013-07-22 09:47:59 -04:00
Brian Talbot
dc2631cb5a Studio: adds a space back to the phrase 'Welcome to edX Studio' that went missing 2013-07-22 09:47:59 -04:00
Calen Pennington
2a3dd7323f CMS i18n changes from Tsinghua 2013-07-19 11:40:47 -04:00
Chris Dodge
95302b02a8 I18N work seems to have a very prominent space in the landing page 2013-07-18 21:12:49 -04:00
Don Mitchell
3722685e1a No longer persist XModule templates
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
David Baumgold
04ddb63dad i18n the studio nav help button 2013-07-12 16:27:54 -04:00
Frances Botsford
260b5ccef4 i18n the view live button on the studio dashboard 2013-07-12 16:25:44 -04:00
David Baumgold
a6f349dab9 Studio i18n 2013-07-12 16:25:39 -04:00
Peter Fogg
871ab87bf2 Fix saving notification CSS. 2013-07-12 09:01:03 -04:00
David Baumgold
1f7fcaed50 Separate Mako logic and JS logic 2013-07-11 09:39:32 -04:00
David Baumgold
cffa013314 Fix course team JS to handle non-200 status codes 2013-07-11 09:30:50 -04:00
Frances Botsford
6814163a45 cleanup and tweaks from feeback to PDF Textbooks FED and Sass 2013-07-09 19:16:44 -04:00
Brian Talbot
b9e7e992b5 Studio: revises subtitle of Textbooks view to be consistent with others 2013-07-09 19:16:44 -04:00
David Baumgold
fa62f48e57 Fix Jasmine test failures 2013-07-09 19:16:11 -04:00
David Baumgold
e7088d50fd Display error message when trying to upload a non-PDF file as a PDF textbook 2013-07-09 19:16:11 -04:00
David Baumgold
c5c1fd08ae i18n 2013-07-09 19:16:10 -04:00
Frances Botsford
b41d23747a PDF Textbooks: implemented "View Live" link 2013-07-09 19:16:09 -04:00
Frances Botsford
1b945dd6e8 changes to textbook upload buttons, success message and styling 2013-07-09 19:16:09 -04:00
David Baumgold
11c5c14998 Add error class to invalid fields on PDF textbooks form 2013-07-09 19:16:09 -04:00
Frances Botsford
2321a2c563 more updates to PDF textbook UI 2013-07-09 19:16:09 -04:00
David Baumgold
70a011770e Show a warning if the user tries to leave the page with unsaved textbook changes 2013-07-09 19:16:08 -04:00
David Baumgold
fedbf4585b Prevent saving when textbook is in invalid state 2013-07-09 19:16:08 -04:00
David Baumgold
9797b34c4e Pluralize CMS.URL.TEXTBOOK 2013-07-09 19:16:08 -04:00
David Baumgold
404c36b8f4 PDF textbooks: namespace JS variables for URLs 2013-07-09 19:16:07 -04:00
David Baumgold
5836286fda PDF textbooks: unified naming conventions 2013-07-09 19:16:06 -04:00
David Baumgold
c45dbca771 Fix JS dependency issues
textbook.js is apparently being loaded on every page, so I just made sure that
Backbone Associations was also loaded on every page to be sure that the dependency
was always being met.
2013-07-09 19:16:06 -04:00
Brian Talbot
414c9d38b6 studio - revises plus icon treatment throughout new-button actions 2013-07-09 19:16:06 -04:00
David Baumgold
c2ef6a53f5 PDF textbook upload: show success message for 2 seconds following successful upload 2013-07-09 19:16:06 -04:00
Frances Botsford
27f2339537 additional refinements to PDF textbooks, including making the edit buttons work again 2013-07-09 19:16:06 -04:00
David Baumgold
3b0b1b36b3 Import gettext in textbook template 2013-07-09 19:16:05 -04:00
David Baumgold
0673c79f28 i18n 2013-07-09 19:16:05 -04:00
David Baumgold
4c1ea5aaac PDF Textbook i18n 2013-07-09 19:16:05 -04:00
Frances Botsford
e059060cf3 updated textbook page html and sass, and added basic styling for error on wrong file type 2013-07-09 19:16:05 -04:00
David Baumgold
e8b79dc696 PDF textbooks only accept PDF files
All other file types will trigger a validation error
2013-07-09 19:16:05 -04:00
Frances Botsford
4b2eb79de9 revamp of textbook list html, stage 1 2013-07-09 19:16:04 -04:00
David Baumgold
40098f6593 renamed textbooks.js to textbook.js 2013-07-09 19:16:03 -04:00
David Baumgold
9af447de97 Moved Backbone models/views out to separate files for pdf textbooks project 2013-07-09 19:16:03 -04:00
David Baumgold
14be4310c3 Add confirmation step for deleting a textbook 2013-07-09 19:16:02 -04:00
David Baumgold
9de2dc51ec Can't add new textbook if the currently-editing textbook is empty 2013-07-09 19:16:02 -04:00
David Baumgold
c0b00f7dd5 persist textbook deletions to the server 2013-07-09 19:16:02 -04:00
David Baumgold
486bacede4 Clean up HTML structure in textbooks page 2013-07-09 19:16:02 -04:00