Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Deactivate Submit if Deadline is Over #1059

Merged
merged 23 commits into from
Dec 19, 2018

Conversation

dboschm
Copy link
Collaborator

@dboschm dboschm commented Dec 7, 2018

Closes #964 and some other deadline stuff

Improvements

  • Deactivate Submit Button if the deadline is over
    grafik
  • translated Deadline Text + Use Moment locale date format
    grafik
    grafik
  • show deadline with time (localized)
    grafik

CHANGELOG.md Outdated Show resolved Hide resolved
app/webFrontend/src/app/unit/unit.component.scss Outdated Show resolved Hide resolved
app/webFrontend/src/app/unit/unit.component.html Outdated Show resolved Hide resolved
@@ -56,12 +56,10 @@ import {TranslationErrorService} from './shared/services/translation-error.servi
import {MissingTranslationHandler} from '@ngx-translate/core';

// AoT requires an exported function for factories
export function HttpLoaderFactory(http: HttpClient) {
export function TranslateHttpLoaderFactory(http: HttpClient) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not against this change but why is this part of this pull request?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good question. Because I stumbled over it, changed it quickly and no longer thought about it :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shall I remove this?

@dboschm dboschm changed the title ⚠ WIP: Deactivate Code Kata Submit if Deadline is Over Deactivate Submit if Deadline is Over Dec 17, 2018
@kesselb kesselb force-pushed the feature/#964-code-kata-hide-submit branch from c9f43a1 to 44fe4de Compare December 19, 2018 21:26
@kesselb kesselb merged commit 6641dd2 into develop Dec 19, 2018
@kesselb kesselb deleted the feature/#964-code-kata-hide-submit branch December 19, 2018 21:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants