mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
placeholder when no repo configured
This commit is contained in:
1 parent
a1c9b70b2e
commit
4b47dc19ce
1 file changed
+15
-1
@@ -808,7 +808,7 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
|
||||
</div>
|
||||
|
||||
{/* Edit with Shakespeare URL */}
|
||||
{originUrl.trim() && (
|
||||
{originUrl.trim() ? (
|
||||
<div className="space-y-2">
|
||||
<Label className="text-xs text-muted-foreground">
|
||||
Edit with Shakespeare URL
|
||||
@@ -830,6 +830,20 @@ export function GitDialog({ projectId, children, open, onOpenChange }: GitDialog
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="space-y-2">
|
||||
<Label className="text-xs text-muted-foreground">
|
||||
Edit with Shakespeare URL
|
||||
</Label>
|
||||
<div className="p-3 rounded-md border-2 border-dashed border-muted-foreground/30 bg-muted/20">
|
||||
<div className="flex items-center gap-2 text-muted-foreground">
|
||||
<ExternalLink className="h-4 w-4" />
|
||||
<span className="text-xs">
|
||||
Push your repository to get a shareable Shakespeare link
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Credentials Warning */}
|
||||
|
||||
Reference in new issue
Block a user