Skip to content

Commit

Permalink
Merge pull request #130 from 0liverkong/add-application-ui
Browse files Browse the repository at this point in the history
Add application status to ui
  • Loading branch information
logical-1985516 authored Mar 31, 2024
2 parents 5af6031 + 1474820 commit dfab510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/seedu/hirehub/ui/ApplicationCard.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public class ApplicationCard extends UiPart<Region> {
private Label title;
@FXML
private Label description;
@FXML
private Label status;
/**
* Creates a {@code PersonCode} with the given {@code Person} and index to display.
*/
Expand All @@ -68,5 +70,6 @@ public ApplicationCard(Application application, int displayedIndex) {
.forEach(tag -> tags.getChildren().add(new Label(tag.tagName)));
title.setText(job.getTitle());
description.setText(job.getDescription());
status.setText(application.getStatus().value);
}
}
1 change: 1 addition & 0 deletions src/main/resources/view/ApplicationListCard.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<Label fx:id="comment" styleClass="cell_small_label" text="\$comment" />
<Label fx:id="title" text="\$first" styleClass="cell_big_label" />
<Label fx:id="description" styleClass="cell_small_label" text="\$description" />
<Label fx:id="status" styleClass="cell_small_label" text="\$status" />
</VBox>
</GridPane>
</HBox>

0 comments on commit dfab510

Please sign in to comment.