Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #388 from appwrite/docs-cloud-alias
Browse files Browse the repository at this point in the history
Create an alias for Appwrite Cloud in docs.
  • Loading branch information
eldadfux authored Jun 16, 2023
2 parents 2b8f1a1 + aff2dea commit a1b210d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/docs/service.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ if (!\function_exists('skipLanguage')) {
$selected = ($key === $version) ? ' selected' : '';
?>
<?php if(!in_array($sdk, ['rest-default', 'graphql-default']) || strcmp($key, "1.2.x") >= 0): ?>
<option value="<?php echo $this->escape($key); ?>"<?php echo ($key === $sdk) ? ' selected' : ''; ?><?php echo $selected; ?>>Version <?php echo $this->escape($key); ?></option>
<option value="<?php echo $this->escape($key); ?>"<?php echo ($key === $sdk) ? ' selected' : ''; ?><?php echo $selected; ?>><?php echo $this->escape($name); ?></option>
<?php endif; ?>
<?php endforeach; ?>
</select>
Expand Down

0 comments on commit a1b210d

Please sign in to comment.