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

Forgot a few case adjustments #703

Merged
merged 1 commit into from
Jun 25, 2023
Merged
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
4 changes: 2 additions & 2 deletions modules/service/ServiceDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function ServiceDetails() {
<div className="flex flex-col">
<div className="relative flex flex-col gap-4">
<WidgetDiv>
<WidgetTitle title="Daily Round Trips" />
<WidgetTitle title="Daily round trips" />
{serviceDataReady ? (
<ServiceGraphWrapper
data={serviceData.data}
Expand All @@ -72,7 +72,7 @@ export function ServiceDetails() {
)}
</WidgetDiv>
<WidgetDiv>
<WidgetTitle title={`Service Delivered (% of ${comparison})`} />
<WidgetTitle title={`Service delivered (% of ${comparison})`} />
{serviceDataReady ? (
<PercentageServiceGraphWrapper
data={serviceData.data}
Expand Down
4 changes: 2 additions & 2 deletions modules/slowzones/SlowZonesDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function SlowZonesDetails() {
<PageWrapper pageTitle={'Slow zones'}>
<div className="flex flex-col gap-4">
<WidgetDiv>
<WidgetTitle title="Total Slow Time" />
<WidgetTitle title="Total slow time" />
<div className="relative flex flex-col">
{totalSlowTimeReady ? (
<TotalSlowTimeWrapper
Expand All @@ -72,7 +72,7 @@ export function SlowZonesDetails() {
</div>
</WidgetDiv>
<WidgetDiv>
<WidgetTitle title="Line Map" />
<WidgetTitle title="Line map" />
<div className="relative flex flex-col">
{allSlow.data && speedRestrictions.data && canShowSlowZonesMap ? (
<SlowZonesMap
Expand Down
2 changes: 1 addition & 1 deletion modules/slowzones/SystemSlowZonesDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function SystemSlowZonesDetails({ showTitle = false }: SystemSlowZonesDet
<PageWrapper pageTitle={'Slow zones'}>
<div className="flex flex-col gap-4">
<WidgetDiv>
<WidgetTitle title="Total Slow Time" />
<WidgetTitle title="Total slow time" />
<div className="relative flex flex-col">
{totalSlowTimeReady ? (
<div className="relative flex h-60">
Expand Down
2 changes: 1 addition & 1 deletion modules/slowzones/charts/TotalSlowTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const TotalSlowTime: React.FC<TotalSlowTimeProps> = ({
{
id: 'customTitle',
afterDraw: (chart) => {
if (showTitle) drawSimpleTitle(`Total Slow Time`, chart);
if (showTitle) drawSimpleTitle(`Total slow time`, chart);
},
},
ChartjsPluginWatermark,
Expand Down
2 changes: 1 addition & 1 deletion modules/speed/SpeedDetailsWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const SpeedDetailsWrapper: React.FC<SpeedDetailsWrapperProps> = ({
return (
<>
<WidgetDiv>
<WidgetTitle title="Median Speed" />
<WidgetTitle title="Median speed" />
<SpeedGraphWrapper
data={data}
config={config}
Expand Down
Loading