diff --git a/CHANGELOG.md b/CHANGELOG.md index c4010bb..43d595b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ documents - **Site Changes** - Display Staff ID on site pages in the directory + - Display phone number on site pages in the directory - **User Changes** - Admins can now associate a Staff ID with a user that will display in the directory and in the menu bar diff --git a/app/views/sites/show.html.haml b/app/views/sites/show.html.haml index 8cea9a2..160dae3 100644 --- a/app/views/sites/show.html.haml +++ b/app/views/sites/show.html.haml @@ -32,12 +32,14 @@ %col %col %col.d-none.d-md-table-column + %col.d-none.d-lg-table-column %thead %tr %th.d-none.d-lg-table-cell.text-center.nowrap= order_to "Staff ID", primary: "staffid" %th= order_to "Name", primary: "name" %th= order_to "Email", primary: "email" %th.d-none.d-md-table-cell= order_to "Role", primary: "role" + %th.d-none.d-lg-table-cell Phone - @users.each do |user| %tr @@ -46,6 +48,8 @@ %td= user.full_name %td= user.email %td.d-none.d-md-table-cell= user.role + %td.d-none.d-lg-table-cell + %small= user.phone .center-horizontally= paginate @users, theme: "bootstrap" .jumbotron.jumbotron-custom-text.jumbotron-shadow = icon("far", "comments")