-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* checkbox icons added * checking if project exist * fixed typo * spec/models/timesheet_entry_spec.rb updated * guard cluse added * bill_status_billed added in en.yml * arguments updated in .map * rename variable p to currentProject * removed success key * policy for timesheet entry added * rspec timesheet entry model updated * removed include pundit * Props interface added in BillTag.tsx * scope for timesheet entry policy added * removed scope from controllers * removed left margin from navbar * removed / file * restored navbar * ml-12 added to navbar * moved notice to en.yml
- Loading branch information
Abinash
authored
Mar 8, 2022
1 parent
c905d99
commit 0df0ecf
Showing
23 changed files
with
442 additions
and
226 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import * as React from "react"; | ||
|
||
interface Props { | ||
color: string; | ||
text: string; | ||
} | ||
|
||
const BillTag: React.FC<Props> = ({ color, text }) => ( | ||
<p | ||
className={`bg-${color} text-miru-alert-green-1000 px-1 mr-6 text-xs h-4 flex justify-center font-semibold tracking-widest rounded-lg`} | ||
> | ||
{text.toUpperCase()} | ||
</p> | ||
); | ||
|
||
export default BillTag; |
Oops, something went wrong.