Skip to content

Commit

Permalink
Feature/quicklink rubiks (#59)
Browse files Browse the repository at this point in the history
* Added rubiks to Quicklinks

* Changed icon for Rubiks link

* Apply suggestions from code review for Rubik value

Co-authored-by: AlexandreMarkus <[email protected]>

* Changed AppIntl.current to intl to call correct title

Co-authored-by: JonathanDuvalV <[email protected]>
Co-authored-by: AlexandreMarkus <[email protected]>
  • Loading branch information
3 people authored Mar 12, 2021
1 parent 308fabb commit 42cad51
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 29 deletions.
Binary file added assets/images/ic_schedule_generator_red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 33 additions & 29 deletions lib/core/constants/quick_links.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,36 @@ import 'package:notredame/core/models/quick_link.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';

List<QuickLink> quickLinks(AppIntl intl) => [
QuickLink(
name: intl.ets_security_title,
image: 'assets/images/ic_security_red.png',
link: 'security'),
QuickLink(
name: intl.ets_monets_title,
image: 'assets/images/ic_monets_sans_nom_red.png',
link: 'https://portail.etsmtl.ca'),
QuickLink(
name: intl.ets_bibliotech_title,
image: 'assets/images/ic_book_red.png',
link: 'https://www.etsmtl.ca/Bibliotheque/Accueil'),
QuickLink(
name: intl.ets_news_title,
image: 'assets/images/ic_newspaper_red.png',
link: 'https://www.etsmtl.ca/nouvelles'),
QuickLink(
name: intl.ets_directory_title,
image: 'assets/images/ic_import_contacts_red.png',
link: 'https://www.etsmtl.ca/bottin'),
QuickLink(
name: intl.ets_moodle_title,
image: 'assets/images/ic_moodle_red.png',
link: 'https://ena.etsmtl.ca/'),
QuickLink(
name: intl.ets_heuristique_title,
image: 'assets/images/ic_heuristique_red.png',
link: 'http://lheuristique.ca')
];
QuickLink(
name: intl.ets_security_title,
image: 'assets/images/ic_security_red.png',
link: 'security'),
QuickLink(
name: intl.ets_monets_title,
image: 'assets/images/ic_monets_sans_nom_red.png',
link: 'https://portail.etsmtl.ca'),
QuickLink(
name: intl.ets_bibliotech_title,
image: 'assets/images/ic_book_red.png',
link: 'https://www.etsmtl.ca/Bibliotheque/Accueil'),
QuickLink(
name: intl.ets_news_title,
image: 'assets/images/ic_newspaper_red.png',
link: 'https://www.etsmtl.ca/nouvelles'),
QuickLink(
name: intl.ets_directory_title,
image: 'assets/images/ic_import_contacts_red.png',
link: 'https://www.etsmtl.ca/bottin'),
QuickLink(
name: intl.ets_moodle_title,
image: 'assets/images/ic_moodle_red.png',
link: 'https://ena.etsmtl.ca/'),
QuickLink(
name: intl.ets_heuristique_title,
image: 'assets/images/ic_heuristique_red.png',
link: 'http://lheuristique.ca'),
QuickLink(
name: intl.ets_schedule_generator,
image: 'assets/images/ic_schedule_generator_red.png',
link: 'http://rubik.clubnaova.ca/'),
];
1 change: 1 addition & 0 deletions lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"ets_moodle_title": "Moodle",
"ets_directory_title": "Directory",
"ets_heuristique_title": "L'heuristique",
"ets_schedule_generator": "Rubik",

"more_about_applets_title": "About ApplETS",
"more_report_bug": "Report a bug",
Expand Down
1 change: 1 addition & 0 deletions lib/l10n/intl_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
"ets_moodle_title": "Moodle",
"ets_directory_title": "Bottin",
"ets_heuristique_title": "L'heuristique",
"ets_schedule_generator": "Rubik",

"more_about_applets_title": "À propos d'ApplETS",
"more_report_bug": "Rapporter un bogue",
Expand Down

0 comments on commit 42cad51

Please sign in to comment.