Giter Site home page Giter Site logo

mastrup / openorclosed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from youritgroup/openorclosed

0.0 0.0 0.0 11.71 MB

Adds an Property Editors to manage standard and special (read holiday) opening/closing times

JavaScript 32.48% C# 19.68% CSS 1.02% HTML 46.83%

openorclosed's Introduction

Open or Closed for Umbraco

Open or Closed Logo

Yet another Business Hours package supporting Umbraco 8.6+

OpenOrClosed - CI OpenOrClosed - Release

Nuget Packages:

Package Version Downloads
OpenOrClosed NuGet release NuGet release
OpenOrClosed.Core NuGet release NuGet release

Umbraco Package: Our Umbraco project page

Adds Property Editors to manage standard and special (read holiday) opening/closing times

The OpenOrClosed.Core nuget package can be used in Core projects to add support for ModelsBuilder generated Content Models.

Inspired by the Dexmoor BusinessHours package, this one uses the built-in date and time picker and targets Umbraco 8.6+

There are two nuGet packages:

  • OpenOrClosed - DataType Definitions and Property Editors for the Umbraco Back-Office
  • OpenOrClosed.Core - PropertyValueConverters for use with ModelsBuilder to provide strongly typed models.

Property Editors

Standard Business Hours

Monday through to Sunday and optionally Bank Holidays, set each day Open or Closed with multiple ranges of times in either 24- or 12-hour time. Each time range can be flagged with "By Appointment".

Special Business Hours

Adds the ability to specify specific dates, with the same set of features for Standard Business Hours.

Change Log

Version 2.0.6

UI Improvements and the ability to reverse open/closed status.

Version 2.0.5

Special thanks to Lasse Dollis Spilling for his Comments contribution and cleanup

  • Adds comments for each entry in Standard and Special Hours
  • Added option to have all hours optional optional, not just closing hours.
  • Fixed bug on updating Time pickers
  • Cleaned up layout

Version 2.0.1

  • Standard Hours now reflect the current week for the OpensAt and ClosesAt lists

Version 2.0.0

  • Supports Umbraco 10+ only - for Umbraco 8 or 9 install version 1.1.0
  • Hours are now optional, allowing for a Days Open/Closed facility without the need to specify times.
  • Special Days can now be default to closed when added.
  • System.DayOfWeek is now included in the StandardHours View Model, assisting with the ability to render a localised Day.

Version 1.1.0

  • Closed Times can now be made optional by configuration (breaking change)

Version 1.0.0

  • Supports Umbraco 8+

Version 0.2.2 Potential BREAKING Change

  • Changes the Hours from string to DateTime in the View Model to enable better localisation support.

Version 0.2.1

  • Removes the Id property from the View Models since it's no longer populated anyway.

Version 0.2.0

  • Removes the Id property from the editor as it's redundant

Sample Web project

  • Uses SqlCe database - username is "[email protected]"; password is "Password123"
  • Umbraco 8.7.0

Logo

The package logo uses the "open hours" (by Gregor Cesnar) icon from the Noun Project, licensed under CC BY 3.0 US.

openorclosed's People

Contributors

andybutland avatar mastrup avatar robertjf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.