Sha256: 09e2537ba5bc1a73b400bff52dfd8a523a57dabd603d33c395a4df07637d2625
Contents?: true
Size: 680 Bytes
Versions: 142
Compression:
Stored size: 680 Bytes
Contents
# frozen_string_literal: true module Renalware module HDHelper def hd_summary_breadcrumb(patient) breadcrumb_for("HD Summary", patient_hd_dashboard_path(patient)) end def hd_profile_breadcrumb(patient) breadcrumb_for("HD Profile", patient_hd_current_profile_path(patient)) end def hd_session_breadcrumb(session) breadcrumb_for(session_title(session), patient_hd_session_path(session.patient, session)) end def session_title(session) I18n.t("renalware.hd.sessions_types.show.#{session.state}") end def session_edit_title(session) I18n.t("renalware.hd.sessions_types.edit.#{session.state}") end end end
Version data entries
142 entries across 142 versions & 1 rubygems