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

Conversation

@madsnorgaard
Copy link
Collaborator

No description provided.

Copy link
Contributor

@agger-magenta agger-magenta left a comment

Choose a reason for hiding this comment

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

Ja, lad os endelig få de eksempler ind!

Comment on lines 57 to 67
// $form['approve_content'] = array(
// '#id' => 'approve_content',
// '#type' => 'radios',
// '#options' => array(
// 0 => t("Assign for Review"),
// 1 => t("Approve")
// ),
// '#default_value' => 0,
// '#title' => t('Review or Approve Content '),
// '#required' => true,
// );
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason for why this commented code is present? Should it be removed? A comment for why it's still there would be helpful.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This code has been removed as it is not necessary for the review workflow.

'#markup' => t('Select a Content Item.'),
);

$content_type_options = array(""=>"All Content Types");
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess an empty string as key in an array will work, but why not use "all" or something similar for better understanding? And also, should "All Content Types" be translated?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changes committed per comment. All good input.

@lats1 lats1 self-requested a review April 20, 2021 07:01
@madsnorgaard madsnorgaard merged commit 0bba40f into develop Apr 20, 2021
@madsnorgaard madsnorgaard deleted the origin/feature/assign_review_maestro_task branch April 27, 2021 12:45
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.

4 participants