Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: settings matching information #1460

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions app/Http/Controllers/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,26 @@ public function settings(): View
);
}

public function matching(): View
{
return view('settings.matching.show');
}

public function howMatching(): View
{
return view('settings.matching.how-matching-works');
}

public function editMatching(): View
{
return view('settings.matching.edit');
}

// public function destroyMatching(): RedirectResponse
// {
// return view('settings.matching.delete');
// }

public function editAccessNeeds(): View
{
Gate::allowIf(fn ($user) => $user->context === 'individual');
Expand Down
1 change: 1 addition & 0 deletions resources/css/_props.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
--border-color-turquoise: var(--theme-border-color-turquoise, var(--color-turquoise-5));
--border-color-yellow: var(--theme-border-color-yellow, var(--color-yellow-3));
--border-color-magenta: var(--theme-border-color-magenta, var(--color-magenta-2));
--border-color-teal: var(--theme-border-color-teal, var(--color-green-5));

/* Alert */
--alert-background: var(--theme-alert-background, var(--color-grey-2));
Expand Down
2 changes: 1 addition & 1 deletion resources/css/_tokens.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* VARIABLES GENERATED WITH TAILWIND CONFIG ON 2022-12-13.
/* VARIABLES GENERATED WITH TAILWIND CONFIG ON 1/10/2023.
Tokens location: ./tailwind.config.js */
:root {
--space-0: 0;
Expand Down
1 change: 1 addition & 0 deletions resources/css/themes/_simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
--theme-border-color-turquoise: var(--fg);
--theme-border-color-yellow: var(--fg);
--theme-border-color-magenta: var(--fg);
--theme-border-color-teal: var(--fg);

/* Alert */
--theme-alert-background: var(--bg);
Expand Down
4 changes: 4 additions & 0 deletions resources/css/utilities/_border.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@
.border--turquoise {
border-block-start-color: var(--border-color-turquoise);
}

.border--teal {
border-block-start-color: var(--border-color-teal);
}
15 changes: 15 additions & 0 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"Access needs for when you agree to attend a meeting in real-time, either in-person or virtually.": "Access needs for when you agree to attend a meeting in real-time, either in-person or virtually.",
"Access needs for when you are attending a meeting in-person.": "Access needs for when you are attending a meeting in-person.",
"access needs settings": "access needs settings",
"Access our full privacy policy": "Access our full privacy policy",
"access resource in": "access resource in",
"Access resources and trainings": "Access resources and trainings",
"access their page": "access their page",
Expand Down Expand Up @@ -163,12 +164,14 @@
"Add language": "Add language",
"Add meeting": "Add meeting",
"Add new meeting": "Add new meeting",
"Add or edit your matching information": "Add or edit your matching information",
"Add participant": "Add participant",
"Address": "Address",
"Address:": "Address:",
"Add to my notification list": "Add to my notification list",
"Add training": "Add training",
"Add translation": "Add translation",
"Add your information": "Add your information",
"Adjust settings that will help you use this website.": "Adjust settings that will help you use this website.",
"Administrator": "Administrator",
"A follow-up to a previous project (such as a progress report)": "A follow-up to a previous project (such as a progress report)",
Expand Down Expand Up @@ -226,6 +229,7 @@
"Areas where the organization serves": "Areas where the organization serves",
"Are you able to attend consultations in real-time, or do you prefer to receive the materials (ex. questions, discussion topics) and record your responses at your own pace?": "Are you able to attend consultations in real-time, or do you prefer to receive the materials (ex. questions, discussion topics) and record your responses at your own pace?",
"Are you looking for individuals in specific provinces or territories or specific cities or towns?": "Are you looking for individuals in specific provinces or territories or specific cities or towns?",
"Are you ready to get started?": "Are you ready to get started?",
"Are you sure you want to block :blockable?": "Are you sure you want to block :blockable?",
"Are you sure you want to delete your account?": "Are you sure you want to delete your account?",
"Are you sure you want to delete your organization, :organization?": "Are you sure you want to delete your organization, :organization?",
Expand Down Expand Up @@ -273,6 +277,7 @@
"Available :start to :end :timeZone": "Available :start to :end :timeZone",
"Back": "Back",
"Back to dashboard": "Back to dashboard",
"Back to matching": "Back to matching",
"Back to top": "Back to top",
"Back to training home page": "Back to training home page",
"Banks and credit unions": "Banks and credit unions",
Expand Down Expand Up @@ -325,6 +330,7 @@
"by": "by",
"By selecting Consultation Participant as your only role, your role no longer will include the Accessibility Consultant or Community Connector roles. You do not need a profile to be a Consultation Participant, so your profile will be unpublished and saved, and will no longer be visible by other members of The Accessibility Exchange. However, if you edit your role to add the Accessibility Consultant or Community Connector roles again, you will be able to publish your profile again all your saved information will be restored.": "By selecting Consultation Participant as your only role, your role no longer will include the Accessibility Consultant or Community Connector roles. You do not need a profile to be a Consultation Participant, so your profile will be unpublished and saved, and will no longer be visible by other members of The Accessibility Exchange. However, if you edit your role to add the Accessibility Consultant or Community Connector roles again, you will be able to publish your profile again all your saved information will be restored.",
"Call or :vrs": "Call or :vrs",
"Call or text us": "Call or text us",
"Call our support line at :number": "Call our support line at :number",
"Cancel": "Cancel",
"Cancel engagement": "Cancel engagement",
Expand Down Expand Up @@ -507,11 +513,13 @@
"Deepen understanding of what was learned in consultation through systemic analysis": "Deepen understanding of what was learned in consultation through systemic analysis",
"Define the objectives of your consultation. That is, clearly state what information you are hoping to get out of this consultation.": "Define the objectives of your consultation. That is, clearly state what information you are hoping to get out of this consultation.",
"Delete account": "Delete account",
"Delete my matching information": "Delete my matching information",
"Delete my organization": "Delete my organization",
"Delete my page": "Delete my page",
"Delete regulated organization": "Delete regulated organization",
"Delete your account": "Delete your account",
"Delete your individual page": "Delete your individual page",
"Delete your matching information": "Delete your matching information",
"Delete your organization": "Delete your organization",
"Delivering and facilitating the consultation": "Delivering and facilitating the consultation",
"Demographic breakdown": "Demographic breakdown",
Expand Down Expand Up @@ -565,6 +573,7 @@
"Download your certificate": "Download your certificate",
"Do you have concerns about the engagement or the organization running it? We can help solve problems and mediate.": "Do you have concerns about the engagement or the organization running it? We can help solve problems and mediate.",
"Do you have lived experience of the people you can connect to?": "Do you have lived experience of the people you can connect to?",
"Do you have more questions?": "Do you have more questions?",
"Do you have questions about how the engagement works?": "Do you have questions about how the engagement works?",
"Do you have questions about this project?": "Do you have questions about this project?",
"Do you have staff who have lived experience of the primary constituencies you specifically :represent_or_serve_and_support?": "Do you have staff who have lived experience of the primary constituencies you specifically :represent_or_serve_and_support?",
Expand Down Expand Up @@ -602,6 +611,7 @@
"Email: :email": "Email: :email",
"Email address": "Email address",
"email address": "email address",
"Email us": "Email us",
"Employment": "Employment",
"Employment status": "Employment status",
"End date": "End date",
Expand Down Expand Up @@ -731,6 +741,7 @@
"Get help": "Get help",
"Get input for your projects": "Get input for your projects",
"Get input on your accessibility projects": "Get input on your accessibility projects",
"Get started": "Get started",
"Gift card": "Gift card",
"Glossary": "Glossary",
"Google Meet": "Google Meet",
Expand Down Expand Up @@ -780,6 +791,7 @@
"How does this work?": "How does this work?",
"How do you want to recruit participants?": "How do you want to recruit participants?",
"How many participants would you like to engage? Please enter a number, for example 20.": "How many participants would you like to engage? Please enter a number, for example 20.",
"How matching works": "How matching works",
"How the disability and Deaf communities will be impacted by the outcomes of this project": "How the disability and Deaf communities will be impacted by the outcomes of this project",
"How this works for": "How this works for",
"How this works for Community Organizations": "How this works for Community Organizations",
Expand Down Expand Up @@ -829,6 +841,7 @@
"Includes intellectual disability": "Includes intellectual disability",
"Includes size, limb, and facial differences": "Includes size, limb, and facial differences",
"Includes traumatic brain injury, memory difficulties, dementia": "Includes traumatic brain injury, memory difficulties, dementia",
"Includes VRS": "Includes VRS",
"Indigenous": "Indigenous",
"Indigenous identity": "Indigenous identity",
"Individual": "Individual",
Expand Down Expand Up @@ -954,6 +967,7 @@
"Mark agreement as received": "Mark agreement as received",
"Mark as read": "Mark as read",
"Mark estimate as returned": "Mark estimate as returned",
"Matching": "Matching",
"Matching information": "Matching information",
"Matching service": "Matching service",
"match you to their projects or engagements": "match you to their projects or engagements",
Expand Down Expand Up @@ -1677,6 +1691,7 @@
"The language you want to use for navigating this website.": "The language you want to use for navigating this website.",
"The least number of participants you can have to go forward with your engagement. The least you can select is 10 participants.": "The least number of participants you can have to go forward with your engagement. The least you can select is 10 participants.",
"The link could not be copied.": "The link could not be copied.",
"The matching process": "The matching process",
"Theme": "Theme",
"themes": "themes",
"Themes": "Themes",
Expand Down
Loading