Commit Graph
100 Commits
Author SHA1 Message Date
Nathan Heskew 5fb845dcc9 Adding start of initial module management UI
--HG--
branch : dev
2010-04-23 15:10:47 -07:00
Nathan Heskew 5b3ad69503 Adding Orchard.Modules ... module
--HG--
branch : dev
2010-04-22 17:49:21 -07:00
Nathan Heskew 3e46d5f0b0 Changing Orchard.Themes' System.Web.Mvc reference to what's in the lib
--HG--
branch : dev
2010-04-22 15:20:01 -07:00
Nathan Heskew 515d687342 Pulling Themes from Orchard.Core into its own module, Orchard.Themes
--HG--
branch : dev
rename : src/Orchard.Web/Core/Themes/AdminMenu.cs => src/Orchard.Web/Modules/Orchard.Themes/AdminMenu.cs
rename : src/Orchard.Web/Core/Themes/Content/orchard.ico => src/Orchard.Web/Modules/Orchard.Themes/Content/orchard.ico
rename : src/Orchard.Web/Core/Themes/Controllers/AdminController.cs => src/Orchard.Web/Modules/Orchard.Themes/Controllers/AdminController.cs
rename : src/Orchard.Web/Core/Themes/DesignerNotes/ZoneManagerEvents.cs => src/Orchard.Web/Modules/Orchard.Themes/DesignerNotes/ZoneManagerEvents.cs
rename : src/Orchard.Web/Core/Themes/Handlers/ThemeSiteSettingsHandler.cs => src/Orchard.Web/Modules/Orchard.Themes/Handlers/ThemeSiteSettingsHandler.cs
rename : src/Orchard.Web/Core/Themes/Models/Theme.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/Theme.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeRecord.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeRecord.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeSiteSettings.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeSiteSettings.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeSiteSettingsRecord.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeSiteSettingsRecord.cs
rename : src/Orchard.Web/Core/Themes/Module.txt => src/Orchard.Web/Modules/Orchard.Themes/Module.txt
rename : src/Orchard.Web/Core/Themes/Permissions.cs => src/Orchard.Web/Modules/Orchard.Themes/Permissions.cs
rename : src/Orchard.Web/Core/Themes/Preview/IPreviewTheme.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/IPreviewTheme.cs
rename : src/Orchard.Web/Core/Themes/Preview/PreviewTheme.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/PreviewTheme.cs
rename : src/Orchard.Web/Core/Themes/Preview/PreviewThemeFilter.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/PreviewThemeFilter.cs
rename : src/Orchard.Web/Core/Themes/Scripts/base.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/base.js
rename : src/Orchard.Web/Core/Themes/Scripts/jquery-1.4.1.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/jquery-1.4.1.js
rename : src/Orchard.Web/Core/Themes/Scripts/jquery-1.4.1.min.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/jquery-1.4.1.min.js
rename : src/Orchard.Web/Core/Themes/Services/SafeModeThemeSelector.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/SafeModeThemeSelector.cs
rename : src/Orchard.Web/Core/Themes/Services/SiteThemeSelector.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/SiteThemeSelector.cs
rename : src/Orchard.Web/Core/Themes/Services/ThemeService.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/ThemeService.cs
rename : src/Orchard.Web/Core/Themes/Services/ThemeZoneManagerEvents.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/ThemeZoneManagerEvents.cs
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarActiveButtonBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarActiveButtonBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarHoverButtonBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarHoverButtonBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/special.css => src/Orchard.Web/Modules/Orchard.Themes/Styles/special.css
rename : src/Orchard.Web/Core/Themes/ViewModels/PreviewViewModel.cs => src/Orchard.Web/Modules/Orchard.Themes/ViewModels/PreviewViewModel.cs
rename : src/Orchard.Web/Core/Themes/ViewModels/ThemesIndexViewModel.cs => src/Orchard.Web/Modules/Orchard.Themes/ViewModels/ThemesIndexViewModel.cs
rename : src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
rename : src/Orchard.Web/Core/Themes/Views/Admin/Install.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Install.aspx
rename : src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
rename : src/Orchard.Web/Core/Themes/Views/EditorTemplates/Items/ContentItem.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/DisplayTemplates/Items/ContentItem.ascx
rename : src/Orchard.Web/Core/Themes/Views/Document.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Document.aspx
rename : src/Orchard.Web/Core/Themes/Views/EditorTemplates/Items/ContentItem.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/EditorTemplates/Items/ContentItem.ascx
rename : src/Orchard.Web/Core/Themes/Views/HeadPreload.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/HeadPreload.ascx
rename : src/Orchard.Web/Core/Themes/Views/Header.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Header.ascx
rename : src/Orchard.Web/Core/Themes/Views/Layout.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Layout.ascx
rename : src/Orchard.Web/Core/Themes/Views/Menu.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Menu.ascx
rename : src/Orchard.Web/Core/Themes/Views/Messages.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Messages.ascx
rename : src/Orchard.Web/Core/Themes/Views/NotFound.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/NotFound.ascx
rename : src/Orchard.Web/Core/Themes/Views/User.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/User.ascx
rename : src/Orchard.Web/Core/Themes/Views/Web.config => src/Orchard.Web/Modules/Orchard.Themes/Views/Web.config
rename : src/Orchard.Web/Core/Themes/Views/Web.config => src/Orchard.Web/Modules/Orchard.Themes/Web.config
2010-04-22 14:39:09 -07:00
Nathan Heskew e41d711242 Added tag MIX10 for changeset e048b594f336 2010-03-12 00:47:38 -08:00
Nathan Heskew 48f2de11ff Merging branches: dev -> default 2010-03-12 00:47:22 -08:00
Nathan Heskew 4fdc3bde2a Resolving CSS image URLs in the ThemePreview template
--HG--
branch : dev
2010-03-10 11:04:45 -08:00
Nathan Heskew 060d9b21af Ensuring the content edit button on the front stays above everything
--HG--
branch : dev
2010-03-10 10:59:17 -08:00
Nathan Heskew e7dbae2796 Encoding directly the site name in the default header template
Instead of getting the encoding from Html.TitleForPage which also adds the title to the page title...something not needed here

--HG--
branch : dev
2010-03-09 22:25:06 -08:00
Nathan Heskew a9c7c8ea14 Giving the blog post metadata summary template a little inline info
--HG--
branch : dev
2010-03-09 19:51:38 -08:00
Nathan Heskew fa9dc2d728 Wrapping up some cleanup work in the admin.
--HG--
branch : dev
2010-03-09 17:08:37 -08:00
Nathan Heskew 390538a744 Fixing the page.summary display title link when used from a different module
--HG--
branch : dev
2010-03-09 15:45:59 -08:00
Nathan Heskew ff6415a8bf Fixing the FileREgistrationContext to make link tags self-closing
--HG--
branch : dev
2010-03-09 15:14:40 -08:00
Nathan Heskew 9535f18573 Making the permalink input UI for blog, post and page consistent
--HG--
branch : dev
2010-03-09 14:57:24 -08:00
Nathan Heskew 86722cad7e Fixing up the existing comment UI in the HasComments editor template
--HG--
branch : dev
2010-03-09 11:43:21 -08:00
Nathan Heskew 5a34ad7c19 Changing the zone target for the blog archives "widget" to "sidebar"
...from "secondary"

--HG--
branch : dev
2010-03-09 07:42:04 -08:00
Nathan Heskew 93d0f2cb22 Refixed the homepage link and fixed the tests that were broken
- Added an ApplicationPath override to the StubHttpRequest

--HG--
branch : dev
2010-03-09 02:59:45 -08:00
Nathan Heskew 069a6f5439 Setting up "Add to home page" for page create
--HG--
branch : dev
2010-03-09 02:29:11 -08:00
Nathan Heskew 0291653273 Setting up "Add to home page" for blog create
--HG--
branch : dev
2010-03-09 02:16:08 -08:00
Nathan Heskew 7daf068e30 Merge
--HG--
branch : dev
2010-03-09 01:01:54 -08:00
Nathan Heskew 4a0b3f8468 Adding some helpful focus the form functionality for logon and setup
--HG--
branch : dev
2010-03-09 00:55:56 -08:00
Nathan Heskew 262fc83dbf Cleaning up the add/edit blog UI
- textarea and large text inputs full width

--HG--
branch : dev
2010-03-08 23:44:12 -08:00
Nathan Heskew 65060901c3 A little house cleaning in the ResourceManager
--HG--
branch : dev
2010-03-08 15:55:35 -08:00
Nathan Heskew 25faf66875 Changing FileRegistrationContext to use an internal TagBuilder
Instead of string formats to make tag generation more flexible.

--HG--
branch : dev
2010-03-08 13:37:35 -08:00
Nathan Heskew fb4a4cd408 Trimming authenticated and anonymous roles from the UserRoles editor template
--HG--
branch : dev
2010-03-08 02:55:21 -08:00
Nathan Heskew 98003c1a1d Changing PermissionStereotype "Administrators" to "Administrator"
--HG--
branch : dev
2010-03-08 02:52:23 -08:00
Nathan Heskew ef03c8f608 Enabling Html.RegisterStyle("ie6.css").WithCondition("if lte IE 6").ForMedia("screen, projection");
- Added Condition property to FileRegistrationContext
- Added StyleFileRegistrationContext + Media property
- Updated Html helper methods for script and style reg to return registered context and added FileRegistrationContext extension methods for WithCondition and ForMedia

--HG--
branch : dev
2010-03-08 01:49:53 -08:00
Nathan Heskew 3dcc0e4261 Moving zone/zoneitem debug rendering to ThemeZoneManagerEvents
- still not permenant but better than being in DesignerNotes.ZoneManagerEvents

--HG--
branch : dev
2010-03-07 23:01:12 -08:00
Nathan Heskew 1a4ffc86fb Giving the addmedia file upload input a size *in addition to* the fixed width
- since FF didn't wan't to fill the width with the browse UI :|

--HG--
branch : dev
2010-03-07 03:36:25 -08:00
Nathan Heskew 3787fe341b Including the Blogs.Blog.Manage template part in the Orchard.Blogs csproj
- the template was being used to render an edit blog link but was a pain to find (until template name hints were rendered in comments)

--HG--
branch : dev
2010-03-07 03:12:50 -08:00
Nathan Heskew 995f30fec6 Adding some debug info for zone item rendering
- begin and end comments w/ tempate names (covering RenderPartialZoneItem and ContentPartDisplayZoneItem only at the moment) for zone item rendering

Tossing them in debug compiler conditions for good measure. Likely to change to something runtime related so the app can be kicked into debug mode at any time (for any individual)

--HG--
branch : dev
2010-03-07 03:11:09 -08:00
Nathan Heskew f8b0317b8c Changing checkbox/radion display toggle to use click event
- change event wasn't fired in IE when the page didn't first have focus. click seems to overlap with change in other change scenarios (label click, tab focus + space select) so we're all good

--HG--
branch : dev
2010-03-07 02:50:35 -08:00
Nathan Heskew ef5f7edca7 Changing the width of the addmedia input
From a character count to fixed (to fit in a fixed-width window w/ different font sizes)

--HG--
branch : dev
2010-03-07 00:42:42 -08:00
Nathan Heskew abf6720a5e Removing an import from the TinyMceTextEditor template
--HG--
branch : dev
2010-03-07 00:11:47 -08:00
Nathan Heskew dab326c267 Adding the orchard.ico to the SafeMode theme
--HG--
branch : dev
2010-03-05 16:51:27 -08:00
Nathan Heskew dff90c7725 Adding a bit of jquery to toggle elements based on checkbox/radio selection
- + related template changes, using a data-controllerid to relate an element to a checkbox or radio button for visibility control

--HG--
branch : dev
2010-03-05 16:41:29 -08:00
Nathan Heskew 70f4b727c1 Fixing some issues IE (in compat mode of 8) had with the addmedia plugin
Expanding browser verification of the plugin by 50% (if compat mode of a browser counts as an additional browser)

/me, sad for what was necessary

--HG--
branch : dev
2010-03-05 14:07:26 -08:00
Nathan Heskew 458cfc41dc Pushing a smaller ico
--HG--
branch : dev
2010-03-05 02:56:31 -08:00
Nathan Heskew 3f609c8ed1 Adding an Orchard ico. Should make this easy to change (site setting?) later.
--HG--
branch : dev
2010-03-05 02:44:40 -08:00
Nathan Heskew b5a2abb9de Compressing the addmedia (TinyMCE) plugin editor_plugin.js and adding src copy
--HG--
branch : dev
2010-03-05 02:12:14 -08:00
Nathan Heskew c55bbb32ce Finishing up the initial functionality for the addmedia (tinyMCE) plugin
--HG--
branch : dev
2010-03-05 02:04:41 -08:00
Nathan Heskew b449360e75 Making the addmedia (TinyMCE) plugin upload media and insert appropriate markup
a.k.a. fun with async file uploads

--HG--
branch : dev
2010-03-04 17:47:35 -08:00
Nathan Heskew 7d52b4e7c9 Fixing a "null" slug suggestion bug
- When the title was empty, null was suggested

--HG--
branch : dev
2010-03-04 03:28:33 -08:00
Nathan Heskew 28e09002d7 Giving more style to the front end manage UI to keep it from being affected by Theme CSS
First of many additions, most likely

--HG--
branch : dev
2010-03-04 03:13:03 -08:00
Nathan Heskew f2df4df51c Some more work on being able to add media from the (TinyMCE) editor
- TinyMCE module takes a dependency on the current media module api with the addmedia plugin which is functional to the point of being able to add media*

* it still needs a setting of where the media should go (current spec and xmlrpc api say <blog slug>/<post slug> for a blog post but (1) I don't even have that context from the editor and (2) what about other content types)
* it (the plugin) still needs to do an async post and handle the returned JSON appropriatly (insert image tag into the editor using returned url and close the dialog otherwise present any given error)

--HG--
branch : dev
2010-03-04 02:58:49 -08:00
Nathan Heskew cdf6568453 Fixing the (currently hard-coded) form action to add media from tinymce
--HG--
branch : dev
2010-03-03 15:01:53 -08:00
Nathan Heskew f812a4d373 Adding an AddMedia TinyMCE plugin, that doesn't yet do anything
--HG--
branch : dev
2010-03-03 14:55:22 -08:00
Nathan Heskew e9628c4c8f Changing the Body aspect's manage link text back to what it should be, "Edit"...
--HG--
branch : dev
2010-03-03 13:19:09 -08:00
Nathan Heskew 8e4779977a Changing the Body aspect's manage template parts to be named more appropriately
- Changed the templates to be prefixed with "Common.Body."

--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/ManageWrapperPost.ascx => src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/Common.Body.Manage.ascx
rename : src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/ManageWrapperPost.ascx => src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/Common.Body.ManageWrapperPost.ascx
rename : src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/ManageWrapperPre.ascx => src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/Common.Body.ManageWrapperPre.ascx
2010-03-03 13:15:50 -08:00
Nathan Heskew 32df33832c Merge
--HG--
branch : dev
2010-03-03 03:32:31 -08:00
Nathan Heskew 1f417fbe23 Adding Common.Body.Summary template that displays a generated body excerpt
- Added body summary template
- Added an Ellipsize(int length) string extension
- Added an Excerpt(string markup, int length) HtmlHelper extension
- Added a LongestMatch method to ContentPartTemplateResult (pretty much a copy/paste from item) to get the fallback on filename functionality
- Changed the BodyDriver to try to display SummaryAdmin or Summary template variations on Body if the displayType fits

--HG--
branch : dev
2010-03-03 03:32:01 -08:00
Nathan Heskew 98b483f827 Moving Orchard.Core/Common handlers into Models
--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Providers/BodyAspectHandler.cs => src/Orchard.Web/Core/Common/Models/BodyAspectHandler.cs
rename : src/Orchard.Web/Core/Common/Providers/CommonAspectHandler.cs => src/Orchard.Web/Core/Common/Models/CommonAspectHandler.cs
2010-03-03 00:40:32 -08:00
Nathan Heskew 459fd7f155 A couple of small changes to the front-end manage content UI
--HG--
branch : dev
2010-03-02 14:48:50 -08:00
Nathan Heskew 21db0b1af8 Merge
--HG--
branch : dev
2010-03-02 14:08:36 -08:00
Nathan Heskew 783b731866 More work on the front end content management experience (what little there is atm)
- Wrapped the body aspect itself (oddly, w/out an idea of wrappers for zone items atm) with an injected manage/edit template so any content item w/ a body aspect gets some manage experience
- Changed the Page and Blog Post to not insert their own manage templates

--HG--
branch : dev
2010-03-02 14:07:58 -08:00
Nathan Heskew bcce1c3a6c Changing comment creation to be solely permission-based, for now
- It would be nice to bring back some form of "RequireLoginToAddComment" to comment site setting where that checkbox flipped the Anonymous role's "Add comment" permission

--HG--
branch : dev
2010-03-02 07:01:33 -08:00
Nathan Heskew 3ebdb0019c Cleaning up the "add comment" UI
- If the user is not authenticated and doesn't have permission to add a comment a message is given for them to "log on"
- "log on" link to add a comment hashed appropriately so the browser drops down to the comment form on return after logging on
- Updated the default User template to give the log off link a return URL and updated the AccountController to do the same
	redirect to the given location, if given, on action completion so the user is returned to the same location they left.
	The "log off" link in an admin theme should never include a return URL because the resulting experience would be bad (they'd
	be sent back to the log on page with a not authorized message)

--HG--
branch : dev
2010-03-02 06:33:12 -08:00
Nathan Heskew 3dc996e63e Tweaking the Orchard Dashboard admin menu nav item name(s)
--HG--
branch : dev
2010-03-02 05:55:01 -08:00
Nathan Heskew 478ca3d79d Giving UI permission checking to the views
(via Orchard.Mvc.ViewUserControl and Orchard.Mvc.ViewPage)
- Pulled conditional template part inclusion from Page, Blog and BlogPost drivers in favor of doing UI trimming on the front
- Wrapped the respective manage template markup with the appropriate permission checks

--HG--
branch : dev
2010-03-02 05:49:36 -08:00
Nathan Heskew ad2bfffb69 Cleaning out a Classic theme template that didn't really get removed
--HG--
branch : dev
2010-03-02 05:20:02 -08:00
Nathan Heskew 8b2c404480 Classic is the new default (theme)
--HG--
branch : dev
2010-03-02 05:06:19 -08:00
Nathan Heskew ab13b3e6e4 Adding the site name to all page titles
--HG--
branch : dev
2010-03-02 04:52:46 -08:00
Nathan Heskew ba6f82bf41 Disabling input validation on the SetupController
--HG--
branch : dev
2010-03-02 04:52:19 -08:00
Nathan Heskew aa6d61b048 Merge
--HG--
branch : dev
2010-03-01 17:41:51 -08:00
Nathan Heskew f0df9918ef Conditionally showing the page, post and blog edit links
- based on permissions, template inclusion determined by the respective driver
- added an Authorizer overload that takes no message for trimming authorizations (and anything else where sticking something into the notifier isn't necessary)

--HG--
branch : dev
2010-03-01 17:41:25 -08:00
Nathan Heskew 85c5184d3a Merge
--HG--
branch : dev
2010-03-01 16:40:10 -08:00
Nathan Heskew 2abcba07f2 Cleaning up the Blog display template.
- Same separation of templates as Page and BlogPost

--HG--
branch : dev
2010-03-01 16:34:51 -08:00
Nathan Heskew 081f41af3b Merge
--HG--
branch : dev
2010-03-01 16:13:27 -08:00
Nathan Heskew b9cc05da25 Cleaning up Page and Blog Post templates
- Broke manage and metadata template parts into their own respective display templates for both content types
- Simplified the display template for each to contain only the page title and zones (primary w/ manage and metadata partitions and the remainder)
- Removed themed templates that were made redundant with this cleanup

--HG--
branch : dev
2010-03-01 16:13:02 -08:00
Nathan Heskew 2ea51a4d72 Removing tests for the default (controller/action/id) route.
--HG--
branch : dev
2010-03-01 10:56:53 -08:00
Nathan Heskew 5f164f0978 Pulling default route and extra assembly concat (from MvcModule)
- Both no longer necessary since the default HomeController was removed

--HG--
branch : dev
2010-03-01 08:01:56 -08:00
Nathan Heskew daae401ac4 Adding a Dashboard module to support a (initially) simple Admin Dashboard
- Added Dashboard module to Orchard.Core
- Updated "Admin" link in User partials to point to the Admin Dashboard (and consolidated partials)
- Changed the admin menu to not hardcode the Dashboard item in the template. Instead all items come from admin menu item registration (hence the weird "Manage Orchard" sub-item)

--HG--
branch : dev
2010-03-01 02:26:12 -08:00
Nathan Heskew 349fbaa393 Removing the HomeController from the Orchard assembly
--HG--
branch : dev
2010-03-01 01:25:13 -08:00
Nathan Heskew 8e1207dd6b Fix for bug #16249
- Making removal of a menu item tied to a content item not remove that content item, instead the OnMainMenu bit is flipped
- Changing the text of the remove button to be either "Remove" (for items tied to content) or "Delete" (for standalone items)

--HG--
branch : dev
2010-03-01 00:40:23 -08:00
Nathan Heskew bcec3db334 Removing Tags' site settings (relating to pages) which are no longer used
--HG--
branch : dev
2010-02-26 23:25:02 -08:00
Nathan Heskew 9c86a8d552 Adding an Information notification for pending comments
--HG--
branch : dev
2010-02-26 16:03:50 -08:00
Nathan Heskew 1dfdeb8d80 Some comment display cleanup
- only show the [comment count] Comments heading if there are comments
- only show the comments are disabled message if comments are disabled *and* there *are* comments
- added an Add a Comment heading above the comment form

--HG--
branch : dev
2010-02-26 15:57:23 -08:00
Nathan Heskew 22e5a083bf Adding generic ContentItem editor and display templates
- ContentItem editor and display templates added that only render the "primary" zone, then remaining zones (ZonesAny)
- Added a UseDefaultTemplate bool to ContentItemDriver and conditionally return the default template for Display or Edit
- Updated the UserDriver to use the default templates
-

--HG--
branch : dev
2010-02-26 15:20:50 -08:00
Nathan Heskew a21e246e4d Some site settings cleanup
- Friendly names for remaining input
- Removed Theme site setting UI
- Changed "Edit Settings" title to "Manage Settings" #consistency

--HG--
branch : dev
2010-02-26 14:27:46 -08:00
Nathan Heskew 7490d3ea3b Removing Packages folder that has only a few images at the moment
Some images were added fairly recently for the Blogs admin. Images were copied to the correct location and paths to the images fixed but the images in the packages folder weren't removed.

--HG--
branch : dev
2010-02-25 23:46:05 -08:00
Nathan Heskew a224d4d294 Changing the slug of the "Home" page created during setup
- Changed the "Home" page slug from "" to "home"
- Changed the page slug constraint to not need to deal with a null value (i.e. an empty slug is no longer valid for a page - not necessary now that any page can be made *the* homepage)

--HG--
branch : dev
2010-02-25 23:37:54 -08:00
Nathan Heskew 914e7f91be Bringing back Orchard.Web\Core\Themes\Scripts
--HG--
branch : dev
2010-02-25 23:31:49 -08:00
Nathan Heskew 1cea5ad9d2 Merge
--HG--
branch : dev
2010-02-25 14:52:54 -08:00
Nathan Heskew 46efd063bf Updated the Green theme with an example of a HomePage layout
HomePage layout == Layout.HomePage; default layout == Layout

--HG--
branch : dev
2010-02-25 14:51:19 -08:00
Nathan Heskew fe55012b77 Adding simple support for Module (area) specific layout templates
In a ("Layout.{0}", areaRouteValue) file naming convention fashion

--HG--
branch : dev
2010-02-25 14:44:27 -08:00
Nathan Heskew 98f74c91d2 Merging some minor (TheAdmin theme) CSS changes from a few days ago 2010-02-22 11:41:01 -08:00
Nathan Heskew fde47d222e Merge 2010-02-22 11:39:30 -08:00
Nathan Heskew f3afcc93d9 Updating SafeMode CSS images being included in the csproj 2010-02-22 11:37:43 -08:00
Nathan Heskew 1c2c78c586 (Re)Fixing a little CSS for the main menu management
--HG--
branch : dev
2010-02-17 13:44:04 -08:00
Nathan Heskew 0578da0cc6 Fixing image paths in the page list admin template
--HG--
branch : dev
2010-02-17 11:38:29 -08:00
Nathan Heskew 227b0181b5 Brining in some earlier admin work from Jon that looks like it never really got merged.
* Still need to verify I'm pulling in the changes from revs 657 & 665 correctly/completely

--HG--
branch : dev
2010-02-17 01:14:29 -08:00
Nathan Heskew 3aa158510d Making the AntiForgeryAuthorizationFilter validate when an ValidateAntiForgeryTokenOrchardAttribute is present.
--HG--
branch : dev
2010-02-16 15:46:01 -08:00
Nathan Heskew 06e36a9a37 Making a ContentItem's menu items URL resolved and not editable
--HG--
branch : dev
2010-02-16 15:17:11 -08:00
Nathan Heskew 32683280df Changing the Main Menu manage form to treat MenuItems differently (editable URL)
--HG--
branch : dev
2010-02-16 14:33:18 -08:00
Nathan Heskew a645bfa681 Getting the Main Menu item delete hooked up. Needs anti forgery token verification.
--HG--
branch : dev
2010-02-16 14:14:04 -08:00
Nathan Heskew 578cdcb38d Getting the Main Menu management (IndexPOST) wired up. Manage/create still needs validation.
--HG--
branch : dev
2010-02-16 14:04:23 -08:00
Nathan Heskew a8eb9f6328 A little work on new menu item (in main menu management) validation
--HG--
branch : dev
2010-02-15 16:49:09 -08:00
Nathan Heskew 617753c518 A little cleanup in the SetupController
--HG--
branch : dev
2010-02-15 16:01:40 -08:00
Nathan Heskew f61d831f45 Shuffling around where the Admin link appears on the front
--HG--
branch : dev
2010-02-15 15:44:23 -08:00
Nathan Heskew 3fcdd5d893 Changing the Home menu item created on setup to be for the "Home" page
--HG--
branch : dev
2010-02-15 12:58:29 -08:00